)]}'
{"cmd/config/config.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":37,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigSetAuthInfo(rootSettings))"},{"line_number":38,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigGetAuthInfo(rootSettings))"},{"line_number":39,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigSetBootstrapInfo(rootSettings))"},{"line_number":40,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigGetBootstrapInfo(rootSettings))"},{"line_number":41,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigUseContext(rootSettings))"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"\treturn configRootCmd"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_b850425f","line":40,"range":{"start_line":40,"start_character":1,"end_line":40,"end_character":69},"updated":"2020-04-17 13:19:34.000000000","message":"same command added twice","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":37,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigSetAuthInfo(rootSettings))"},{"line_number":38,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigGetAuthInfo(rootSettings))"},{"line_number":39,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigSetBootstrapInfo(rootSettings))"},{"line_number":40,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigGetBootstrapInfo(rootSettings))"},{"line_number":41,"context_line":"\tconfigRootCmd.AddCommand(NewCmdConfigUseContext(rootSettings))"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"\treturn configRootCmd"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_64461324","line":40,"range":{"start_line":40,"start_character":1,"end_line":40,"end_character":69},"in_reply_to":"3f4c43b2_b850425f","updated":"2020-04-20 23:51:30.000000000","message":"no, it\u0027s different commands: set and get","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"}],"cmd/config/get_bootstrapinfo.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":33,"context_line":"airshipctl config get-bootstrapinfo dummy_bootstrap_config`"},{"line_number":34,"context_line":")"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"// NewCmdConfigGetBootstrapInfo returns a Command instance for \u0027config -BootstrapInfo\u0027 sub command"},{"line_number":37,"context_line":"// BootstrapInfo refers to a particular botstrap info entry"},{"line_number":38,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":39,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_18d5f6b9","line":36,"range":{"start_line":36,"start_character":70,"end_line":36,"end_character":71},"updated":"2020-04-17 13:19:34.000000000","message":"nit: space","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":33,"context_line":"airshipctl config get-bootstrapinfo dummy_bootstrap_config`"},{"line_number":34,"context_line":")"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"// NewCmdConfigGetBootstrapInfo returns a Command instance for \u0027config -BootstrapInfo\u0027 sub command"},{"line_number":37,"context_line":"// BootstrapInfo refers to a particular botstrap info entry"},{"line_number":38,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":39,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_c1266617","line":36,"range":{"start_line":36,"start_character":70,"end_line":36,"end_character":71},"in_reply_to":"3f4c43b2_18d5f6b9","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":34,"context_line":")"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"// NewCmdConfigGetBootstrapInfo returns a Command instance for \u0027config -BootstrapInfo\u0027 sub command"},{"line_number":37,"context_line":"// BootstrapInfo refers to a particular botstrap info entry"},{"line_number":38,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":39,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":40,"context_line":"\tcmd :\u003d \u0026cobra.Command{"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_78db5aec","line":37,"range":{"start_line":37,"start_character":40,"end_line":37,"end_character":48},"updated":"2020-04-17 13:19:34.000000000","message":"bootstrap","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":34,"context_line":")"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"// NewCmdConfigGetBootstrapInfo returns a Command instance for \u0027config -BootstrapInfo\u0027 sub command"},{"line_number":37,"context_line":"// BootstrapInfo refers to a particular botstrap info entry"},{"line_number":38,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":39,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":40,"context_line":"\tcmd :\u003d \u0026cobra.Command{"}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_a1235a05","line":37,"range":{"start_line":37,"start_character":40,"end_line":37,"end_character":48},"in_reply_to":"3f4c43b2_78db5aec","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":37,"context_line":"// BootstrapInfo refers to a particular botstrap info entry"},{"line_number":38,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":39,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":40,"context_line":"\tcmd :\u003d \u0026cobra.Command{"},{"line_number":41,"context_line":"\t\tUse:     \"get-bootstrapinfo NAME\","},{"line_number":42,"context_line":"\t\tShort:   \"Gets a bootstrap info entry from the airshipctl config\","},{"line_number":43,"context_line":"\t\tLong:    getBootstrapInfoLong,"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_78899ac8","line":40,"range":{"start_line":40,"start_character":1,"end_line":40,"end_character":4},"updated":"2020-04-17 13:19:34.000000000","message":"This command is either listing a single NAME if specified, or all NAMES if none are specified.\n\nBut if the user enters NAME1 NAME2, the behavior defaults to listing all NAMEs instead of just the two (or more) specified NAMEs.\n\nConsider either:\n1. Using Cobra\u0027s max args feature, to limit this to just a single input.  This will force behavior to show only the specified NAME if it exists -- or all NAMEs if one is not specified.  See [0] for examples on using MaximumNArgs\n\n2. Add additional logic to handle the case of multiple NAMEs specified, and print info for each of them via loop.\n\n[0] https://github.com/spf13/cobra#positional-and-custom-arguments","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":37,"context_line":"// BootstrapInfo refers to a particular botstrap info entry"},{"line_number":38,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":39,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":40,"context_line":"\tcmd :\u003d \u0026cobra.Command{"},{"line_number":41,"context_line":"\t\tUse:     \"get-bootstrapinfo NAME\","},{"line_number":42,"context_line":"\t\tShort:   \"Gets a bootstrap info entry from the airshipctl config\","},{"line_number":43,"context_line":"\t\tLong:    getBootstrapInfoLong,"}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_8fff6566","line":40,"range":{"start_line":40,"start_character":1,"end_line":40,"end_character":4},"in_reply_to":"3f4c43b2_78899ac8","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"bd2bbee5f6e135a3360aedb9213ca2117b6f3f47","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2014 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":18,"id":"ff570b3c_393a9d97","line":2,"updated":"2020-05-13 15:00:03.000000000","message":"Copyright 2020","commit_id":"78602de1467fe85b64c3f3e85420481aebe45e66"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"5c73f1c659d33923fc1428aa00f5235254a26d6c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2020 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_adaf75e1","line":2,"updated":"2020-05-14 11:20:57.000000000","message":"There is some mess with the licensing headers. Most of them are w/o Copyright line at all. Some are with Kubernetes Authors, but Airship is not Kubernetes (not even incubated in Kubernetes). Please pay attention at http://eavesdrop.openstack.org/meetings/airship/2020/airship.2020-04-14-14.00.log.html#l-118\n\nI think we need Copyright line because Apache license itself provides the header template that assumes Copyright, but others think we don\u0027t need this line at all.","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":22477,"name":"Matt McEuen","email":"matt.mceuen@att.com","username":"mattmceuen"},"change_message_id":"05192f257d5e2bab378405223ab660e31fab7cf1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2020 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_efd2f75b","line":2,"in_reply_to":"ff570b3c_adaf75e1","updated":"2020-05-14 17:46:31.000000000","message":"Agree that we shouldn\u0027t use Kubernetes Authors, unless we\u0027ve copied this file from somewhere and it already had that header.\n\nStas, please model after this one:\nhttps://github.com/airshipit/airshipctl/blob/88ef95d678b20e0bd1df3bce43667e99bd85445f/main.go","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2020 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_af78ff29","line":2,"in_reply_to":"ff570b3c_efd2f75b","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"5c73f1c659d33923fc1428aa00f5235254a26d6c","unresolved":false,"context_lines":[{"line_number":26,"context_line":")"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"var ("},{"line_number":29,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific user\u0027s information, or all defined users if no name is provided`"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":32,"context_line":"airshipctl config get-bootstrapinfo"}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_38c8c520","line":29,"updated":"2020-05-14 11:20:57.000000000","message":"not user\u0027s information, but bootstrap information","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":26,"context_line":")"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"var ("},{"line_number":29,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific user\u0027s information, or all defined users if no name is provided`"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":32,"context_line":"airshipctl config get-bootstrapinfo"}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_af69228c","line":29,"in_reply_to":"ff570b3c_38c8c520","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"5c73f1c659d33923fc1428aa00f5235254a26d6c","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":32,"context_line":"airshipctl config get-bootstrapinfo"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# Display a specific user information"},{"line_number":35,"context_line":"airshipctl config get-bootstrapinfo dummy_bootstrap_config`"},{"line_number":36,"context_line":")"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_18cb411e","line":34,"updated":"2020-05-14 11:20:57.000000000","message":"ditto","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":32,"context_line":"airshipctl config get-bootstrapinfo"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"# Display a specific user information"},{"line_number":35,"context_line":"airshipctl config get-bootstrapinfo dummy_bootstrap_config`"},{"line_number":36,"context_line":")"},{"line_number":37,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_4f104602","line":34,"in_reply_to":"ff570b3c_18cb411e","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"d198fc6a99f503d55ac7b613a57d644158316976","unresolved":false,"context_lines":[{"line_number":39,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":40,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":41,"context_line":"\tcmd :\u003d \u0026cobra.Command{"},{"line_number":42,"context_line":"\t\tUse:     \"get-bootstrapinfo NAME\","},{"line_number":43,"context_line":"\t\tShort:   \"Gets a bootstrap info entry from the airshipctl config\","},{"line_number":44,"context_line":"\t\tLong:    getBootstrapInfoLong,"},{"line_number":45,"context_line":"\t\tExample: getBootstrapInfoExample,"}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_a55029d6","line":42,"updated":"2020-05-14 11:27:03.000000000","message":"[NAME] since it is optional","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":39,"context_line":"func NewCmdConfigGetBootstrapInfo(rootSettings *environment.AirshipCTLSettings) *cobra.Command {"},{"line_number":40,"context_line":"\to :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":41,"context_line":"\tcmd :\u003d \u0026cobra.Command{"},{"line_number":42,"context_line":"\t\tUse:     \"get-bootstrapinfo NAME\","},{"line_number":43,"context_line":"\t\tShort:   \"Gets a bootstrap info entry from the airshipctl config\","},{"line_number":44,"context_line":"\t\tLong:    getBootstrapInfoLong,"},{"line_number":45,"context_line":"\t\tExample: getBootstrapInfoExample,"}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_2f13520f","line":42,"in_reply_to":"ff570b3c_a55029d6","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"272edd511b25eb7934d2ee4193d4486b6f87f719","unresolved":false,"context_lines":[{"line_number":8,"context_line":" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":9,"context_line":" See the License for the specific language governing permissions and"},{"line_number":10,"context_line":" limitations under the License."},{"line_number":11,"context_line":"*/"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"package config"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-go","patch_set":20,"id":"ff570b3c_e6167249","line":11,"updated":"2020-05-18 09:00:05.000000000","message":"Please use the license header pattern from here. \n\nhttps://github.com/airshipit/airshipctl/blob/master/tools/license_go.txt","commit_id":"d8a994d0888ffd356fd6eb38c7aab721d4373633"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":23,"context_line":"\t\"opendev.org/airship/airshipctl/pkg/environment\""},{"line_number":24,"context_line":")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"var ("},{"line_number":27,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific bootstrap information, or all defined items if no name is provided`"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_1778e4c1","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":3},"updated":"2020-05-18 22:00:07.000000000","message":"should be const to match the other commands","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":23,"context_line":"\t\"opendev.org/airship/airshipctl/pkg/environment\""},{"line_number":24,"context_line":")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"var ("},{"line_number":27,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific bootstrap information, or all defined items if no name is provided`"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_a3ad769c","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":3},"in_reply_to":"ff570b3c_1778e4c1","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":24,"context_line":")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"var ("},{"line_number":27,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific bootstrap information, or all defined items if no name is provided`"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":30,"context_line":"airshipctl config get-bootstrapinfo"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_7752003d","line":27,"updated":"2020-05-18 22:00:07.000000000","message":"this should start and end with a new line to make it easier to read the documentation inline.\n\nsee https://github.com/airshipit/airshipctl/blob/master/cmd/config/set_cluster.go#L29-L35","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":24,"context_line":")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"var ("},{"line_number":27,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific bootstrap information, or all defined items if no name is provided`"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":30,"context_line":"airshipctl config get-bootstrapinfo"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_e392ce56","line":27,"in_reply_to":"ff570b3c_7752003d","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":26,"context_line":"var ("},{"line_number":27,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific bootstrap information, or all defined items if no name is provided`"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":30,"context_line":"airshipctl config get-bootstrapinfo"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"# Display a specific bootstrap information"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_b7481887","line":29,"updated":"2020-05-18 22:00:07.000000000","message":"ditto: new lines","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":26,"context_line":"var ("},{"line_number":27,"context_line":"\tgetBootstrapInfoLong \u003d `Display a specific bootstrap information, or all defined items if no name is provided`"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"\tgetBootstrapInfoExample \u003d `# List all the bootstrap info entries airshipctl knows about"},{"line_number":30,"context_line":"airshipctl config get-bootstrapinfo"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"# Display a specific bootstrap information"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_439c5a69","line":29,"in_reply_to":"ff570b3c_b7481887","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":39,"context_line":"\tcmd :\u003d \u0026cobra.Command{"},{"line_number":40,"context_line":"\t\tUse:     \"get-bootstrapinfo [NAME]\","},{"line_number":41,"context_line":"\t\tShort:   \"Gets a bootstrap info entry from the airshipctl config\","},{"line_number":42,"context_line":"\t\tLong:    getBootstrapInfoLong,"},{"line_number":43,"context_line":"\t\tExample: getBootstrapInfoExample,"},{"line_number":44,"context_line":"\t\tAliases: []string{\"get-bootstrapinfos\"},"},{"line_number":45,"context_line":"\t\tArgs:    cobra.MaximumNArgs(1),"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_d7382cef","line":42,"updated":"2020-05-18 22:00:07.000000000","message":"once `getBootstrapInfoLong` begins with a new line, we\u0027ll need to trim it off while printing.\n\nsee https://github.com/airshipit/airshipctl/blob/master/cmd/config/set_cluster.go#L69","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":39,"context_line":"\tcmd :\u003d \u0026cobra.Command{"},{"line_number":40,"context_line":"\t\tUse:     \"get-bootstrapinfo [NAME]\","},{"line_number":41,"context_line":"\t\tShort:   \"Gets a bootstrap info entry from the airshipctl config\","},{"line_number":42,"context_line":"\t\tLong:    getBootstrapInfoLong,"},{"line_number":43,"context_line":"\t\tExample: getBootstrapInfoExample,"},{"line_number":44,"context_line":"\t\tAliases: []string{\"get-bootstrapinfos\"},"},{"line_number":45,"context_line":"\t\tArgs:    cobra.MaximumNArgs(1),"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_23996678","line":42,"in_reply_to":"ff570b3c_d7382cef","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}],"cmd/config/get_bootstrapinfo_test.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":44,"context_line":"\t\t},"},{"line_number":45,"context_line":"\t}"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"\tcmdTests :\u003d []*testutil.CmdTest{"},{"line_number":48,"context_line":"\t\t{"},{"line_number":49,"context_line":"\t\t\tName:    \"get-bootstrapinfo\","},{"line_number":50,"context_line":"\t\t\tCmdLine: fmt.Sprintf(\"%s\", fooBootstrapInfo),"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_b8acc234","line":47,"range":{"start_line":47,"start_character":1,"end_line":47,"end_character":9},"updated":"2020-04-17 13:19:34.000000000","message":"if limiting to either single NAME, or all names (see feedback in get_bootstrapinfo.go) then another test case will be needed here to verify that behavior of multiple NAMEs fails with expected error.","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":44,"context_line":"\t\t},"},{"line_number":45,"context_line":"\t}"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"\tcmdTests :\u003d []*testutil.CmdTest{"},{"line_number":48,"context_line":"\t\t{"},{"line_number":49,"context_line":"\t\t\tName:    \"get-bootstrapinfo\","},{"line_number":50,"context_line":"\t\t\tCmdLine: fmt.Sprintf(\"%s\", fooBootstrapInfo),"}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_6f04997c","line":47,"range":{"start_line":47,"start_character":1,"end_line":47,"end_character":9},"in_reply_to":"3f4c43b2_b8acc234","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"bd2bbee5f6e135a3360aedb9213ca2117b6f3f47","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2014 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":18,"id":"ff570b3c_9941290f","line":2,"updated":"2020-05-13 15:00:03.000000000","message":"2020","commit_id":"78602de1467fe85b64c3f3e85420481aebe45e66"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"func TestNoBootstrapInfosGetBootstrapInfoCmd(t *testing.T) {"},{"line_number":77,"context_line":"\tsettings :\u003d \u0026environment.AirshipCTLSettings{Config: new(config.Config)}"},{"line_number":78,"context_line":"\tcmdTest :\u003d \u0026testutil.CmdTest{"},{"line_number":79,"context_line":"\t\tName:    \"no-bootstrapinfo\","},{"line_number":80,"context_line":"\t\tCmdLine: \"\","},{"line_number":81,"context_line":"\t\tCmd:     cmd.NewCmdConfigGetBootstrapInfo(settings),"},{"line_number":82,"context_line":"\t}"},{"line_number":83,"context_line":"\ttestutil.RunTest(t, cmdTest)"},{"line_number":84,"context_line":"}"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_3702480c","line":82,"range":{"start_line":78,"start_character":0,"end_line":82,"end_character":2},"updated":"2020-05-18 22:00:07.000000000","message":"This should be included with the above","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"func TestNoBootstrapInfosGetBootstrapInfoCmd(t *testing.T) {"},{"line_number":77,"context_line":"\tsettings :\u003d \u0026environment.AirshipCTLSettings{Config: new(config.Config)}"},{"line_number":78,"context_line":"\tcmdTest :\u003d \u0026testutil.CmdTest{"},{"line_number":79,"context_line":"\t\tName:    \"no-bootstrapinfo\","},{"line_number":80,"context_line":"\t\tCmdLine: \"\","},{"line_number":81,"context_line":"\t\tCmd:     cmd.NewCmdConfigGetBootstrapInfo(settings),"},{"line_number":82,"context_line":"\t}"},{"line_number":83,"context_line":"\ttestutil.RunTest(t, cmdTest)"},{"line_number":84,"context_line":"}"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_037f0215","line":82,"range":{"start_line":78,"start_character":0,"end_line":82,"end_character":2},"in_reply_to":"ff570b3c_3702480c","updated":"2020-05-19 06:50:51.000000000","message":"This one is special. It uses clean config settings without bootstrap section. For other tests we need different config. So, I separated it.","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}],"cmd/config/set_bootstrapinfo.go":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"bd2bbee5f6e135a3360aedb9213ca2117b6f3f47","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2016 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":18,"id":"ff570b3c_d94a8125","line":2,"updated":"2020-05-13 15:00:03.000000000","message":"2020","commit_id":"78602de1467fe85b64c3f3e85420481aebe45e66"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"e327e1e899c22790fa16bc9b26dac6e65c51cb58","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"\tflags.StringVar("},{"line_number":83,"context_line":"\t\t\u0026o.NetworkConfigFileName,"},{"line_number":84,"context_line":"\t\t\"network-data\","},{"line_number":85,"context_line":"\t\t\"\","},{"line_number":86,"context_line":"\t\t\"filename for network data in airshipctl config\")"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_dee08ecf","line":84,"updated":"2020-05-14 14:02:16.000000000","message":"This could confuse a user because in the config file this field is called \u0027bootstrapInfos.NAME.builder.networkConfigFileName\u0027. Let\u0027s rename either this option or change the config structure.","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"\tflags.StringVar("},{"line_number":83,"context_line":"\t\t\u0026o.NetworkConfigFileName,"},{"line_number":84,"context_line":"\t\t\"network-data\","},{"line_number":85,"context_line":"\t\t\"\","},{"line_number":86,"context_line":"\t\t\"filename for network data in airshipctl config\")"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_940ef538","line":84,"in_reply_to":"ff570b3c_dee08ecf","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"e327e1e899c22790fa16bc9b26dac6e65c51cb58","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"\tflags.StringVar("},{"line_number":89,"context_line":"\t\t\u0026o.OutputMetadataFileName,"},{"line_number":90,"context_line":"\t\t\"output-metadata\","},{"line_number":91,"context_line":"\t\t\"\","},{"line_number":92,"context_line":"\t\t\"filename for output metadata in airshipctl config\")"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_3ee8aab2","line":90,"updated":"2020-05-14 14:02:16.000000000","message":"ditto","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"\tflags.StringVar("},{"line_number":89,"context_line":"\t\t\u0026o.OutputMetadataFileName,"},{"line_number":90,"context_line":"\t\t\"output-metadata\","},{"line_number":91,"context_line":"\t\t\"\","},{"line_number":92,"context_line":"\t\t\"filename for output metadata in airshipctl config\")"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_7409a12f","line":90,"in_reply_to":"ff570b3c_3ee8aab2","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"e327e1e899c22790fa16bc9b26dac6e65c51cb58","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"\tflags.StringVar("},{"line_number":95,"context_line":"\t\t\u0026o.UserDataFileName,"},{"line_number":96,"context_line":"\t\t\"user-data\","},{"line_number":97,"context_line":"\t\t\"\","},{"line_number":98,"context_line":"\t\t\"filename for user data in airshipctl config\")"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_9ed616f1","line":96,"updated":"2020-05-14 14:02:16.000000000","message":"ditto","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"\tflags.StringVar("},{"line_number":95,"context_line":"\t\t\u0026o.UserDataFileName,"},{"line_number":96,"context_line":"\t\t\"user-data\","},{"line_number":97,"context_line":"\t\t\"\","},{"line_number":98,"context_line":"\t\t\"filename for user data in airshipctl config\")"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_cf3616e7","line":96,"in_reply_to":"ff570b3c_9ed616f1","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"e327e1e899c22790fa16bc9b26dac6e65c51cb58","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"\tflags.StringVar("},{"line_number":101,"context_line":"\t\t\u0026o.Image,"},{"line_number":102,"context_line":"\t\t\"image\","},{"line_number":103,"context_line":"\t\t\"\","},{"line_number":104,"context_line":"\t\t\"container image in airshipctl config\")"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_de7c0eed","line":102,"updated":"2020-05-14 14:02:16.000000000","message":"Here the yaml structure is bootstrapInfos.NAME.container.image. If we have deep structured config then options also should be implemented as subcommands or suboptions. I am thinking about something like this\n\n```\nairshipctl config set-bootstrapinfo NAME container --image\u003dIMAGE\n```","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"\tflags.StringVar("},{"line_number":101,"context_line":"\t\t\u0026o.Image,"},{"line_number":102,"context_line":"\t\t\"image\","},{"line_number":103,"context_line":"\t\t\"\","},{"line_number":104,"context_line":"\t\t\"container image in airshipctl config\")"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_3418c97f","line":102,"in_reply_to":"ff570b3c_de7c0eed","updated":"2020-05-14 18:00:49.000000000","message":"When we need this option we can implement it in a separate commit. Right now it\u0027s not needed and I would prefer just to change the name accordingly.","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":24,"context_line":")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"const ("},{"line_number":27,"context_line":"\tsetBootstrapInfoLong \u003d `Sets a bootstrap information."},{"line_number":28,"context_line":"Specifying a name that already exists will merge new fields on top of existing values for those fields.`"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\tsetBootstrapInfoExample \u003d `"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_7a05c710","line":27,"updated":"2020-05-18 22:00:07.000000000","message":"ditto: new lines","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":24,"context_line":")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"const ("},{"line_number":27,"context_line":"\tsetBootstrapInfoLong \u003d `Sets a bootstrap information."},{"line_number":28,"context_line":"Specifying a name that already exists will merge new fields on top of existing values for those fields.`"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\tsetBootstrapInfoExample \u003d `"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_2372064a","line":27,"in_reply_to":"ff570b3c_7a05c710","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":27,"context_line":"\tsetBootstrapInfoLong \u003d `Sets a bootstrap information."},{"line_number":28,"context_line":"Specifying a name that already exists will merge new fields on top of existing values for those fields.`"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\tsetBootstrapInfoExample \u003d `"},{"line_number":31,"context_line":"# Set the network config file name field and output metadata file name on the dummy_bootstrap_config bootstrap entry."},{"line_number":32,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --network-config-file\u003dnetwork-config.yaml \\"},{"line_number":33,"context_line":"  --output-metadata-file\u003doutput-metadata.yaml"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_7a2e6792","line":30,"updated":"2020-05-18 22:00:07.000000000","message":"ditto: new lines","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":27,"context_line":"\tsetBootstrapInfoLong \u003d `Sets a bootstrap information."},{"line_number":28,"context_line":"Specifying a name that already exists will merge new fields on top of existing values for those fields.`"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\tsetBootstrapInfoExample \u003d `"},{"line_number":31,"context_line":"# Set the network config file name field and output metadata file name on the dummy_bootstrap_config bootstrap entry."},{"line_number":32,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --network-config-file\u003dnetwork-config.yaml \\"},{"line_number":33,"context_line":"  --output-metadata-file\u003doutput-metadata.yaml"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_83903245","line":30,"in_reply_to":"ff570b3c_7a2e6792","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\tsetBootstrapInfoExample \u003d `"},{"line_number":31,"context_line":"# Set the network config file name field and output metadata file name on the dummy_bootstrap_config bootstrap entry."},{"line_number":32,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --network-config-file\u003dnetwork-config.yaml \\"},{"line_number":33,"context_line":"  --output-metadata-file\u003doutput-metadata.yaml"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"# Set user data file name field on the dummy_bootstrap_config bootstrap entry without touching other values."}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_5a1a836e","line":32,"updated":"2020-05-18 22:00:07.000000000","message":"just a personal nit, but could we separate all the flags onto separate lines? I think it\u0027s much easier to read and comprehend that way","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":32,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --network-config-file\u003dnetwork-config.yaml \\"},{"line_number":33,"context_line":"  --output-metadata-file\u003doutput-metadata.yaml"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"# Set user data file name field on the dummy_bootstrap_config bootstrap entry without touching other values."},{"line_number":36,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --user-data-file\u003duser-data"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Set container image field on the dummy_bootstrap_config bootstrap entry without touching other values."}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_7a530718","line":35,"range":{"start_line":35,"start_character":77,"end_line":35,"end_character":108},"updated":"2020-05-18 22:00:07.000000000","message":"this is implicit, please remove it","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":35,"context_line":"# Set user data file name field on the dummy_bootstrap_config bootstrap entry without touching other values."},{"line_number":36,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --user-data-file\u003duser-data"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Set container image field on the dummy_bootstrap_config bootstrap entry without touching other values."},{"line_number":39,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --container-image\u003dquay.io/airshipit/isogen:latest"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# Set container runtime field on the dummy_bootstrap_config bootstrap entry without touching other values."}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_da54d300","line":38,"range":{"start_line":38,"start_character":73,"end_line":38,"end_character":103},"updated":"2020-05-18 22:00:07.000000000","message":"ditto","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":38,"context_line":"# Set container image field on the dummy_bootstrap_config bootstrap entry without touching other values."},{"line_number":39,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --container-image\u003dquay.io/airshipit/isogen:latest"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# Set container runtime field on the dummy_bootstrap_config bootstrap entry without touching other values."},{"line_number":42,"context_line":"airshipctl config set-bootstrapinfo dummy_bootstrap_config --container-runtime\u003ddocker"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"# Set remote direct iso url field on the dummy_bootstrap_config bootstrap entry."}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_ba591f36","line":41,"range":{"start_line":41,"start_character":75,"end_line":41,"end_character":105},"updated":"2020-05-18 22:00:07.000000000","message":"ditto","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}],"cmd/config/set_bootstrapinfo_test.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\t\"strings\""},{"line_number":22,"context_line":"\t\"testing\""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"\t//\t\"github.com/stretchr/testify/assert\""},{"line_number":25,"context_line":"\t\"github.com/stretchr/testify/require\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"\tcmd \"opendev.org/airship/airshipctl/cmd/config\""}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_78607a02","line":24,"range":{"start_line":24,"start_character":1,"end_line":24,"end_character":40},"updated":"2020-04-17 13:19:34.000000000","message":"commented out import, if unused please remove.","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\t\"strings\""},{"line_number":22,"context_line":"\t\"testing\""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"\t//\t\"github.com/stretchr/testify/assert\""},{"line_number":25,"context_line":"\t\"github.com/stretchr/testify/require\""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"\tcmd \"opendev.org/airship/airshipctl/cmd/config\""}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_2f18d1d1","line":24,"range":{"start_line":24,"start_character":1,"end_line":24,"end_character":40},"in_reply_to":"3f4c43b2_78607a02","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"bd2bbee5f6e135a3360aedb9213ca2117b6f3f47","unresolved":false,"context_lines":[{"line_number":1,"context_line":"/*"},{"line_number":2,"context_line":"Copyright 2017 The Kubernetes Authors."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"you may not use this file except in compliance with the License."}],"source_content_type":"text/x-go","patch_set":18,"id":"ff570b3c_b9450d18","line":2,"updated":"2020-05-13 15:00:03.000000000","message":"2020","commit_id":"78602de1467fe85b64c3f3e85420481aebe45e66"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":97,"context_line":"\t\t\tisoUrl:      newIsoUrl,"},{"line_number":98,"context_line":"\t\t\tinputConfig: given,"},{"line_number":99,"context_line":"\t\t},"},{"line_number":100,"context_line":"\t\t{"},{"line_number":101,"context_line":"\t\t\ttestName: \"modify-bootstrap-info\","},{"line_number":102,"context_line":"\t\t\tflags: []string{"},{"line_number":103,"context_line":"\t\t\t\t\"--container-image\u003d\" + commonBsInfo,"},{"line_number":104,"context_line":"\t\t\t},"},{"line_number":105,"context_line":"\t\t\tisoUrl:      newIsoUrl,"},{"line_number":106,"context_line":"\t\t\tinputConfig: given,"},{"line_number":107,"context_line":"\t\t},"},{"line_number":108,"context_line":"\t}"},{"line_number":109,"context_line":"\tfor _, tt :\u003d range tests {"},{"line_number":110,"context_line":"\t\ttt :\u003d tt"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_9a853b5d","line":107,"range":{"start_line":100,"start_character":0,"end_line":107,"end_character":4},"updated":"2020-05-18 22:00:07.000000000","message":"this test appears to depend on the test before it passing. Please isolate this test","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":97,"context_line":"\t\t\tisoUrl:      newIsoUrl,"},{"line_number":98,"context_line":"\t\t\tinputConfig: given,"},{"line_number":99,"context_line":"\t\t},"},{"line_number":100,"context_line":"\t\t{"},{"line_number":101,"context_line":"\t\t\ttestName: \"modify-bootstrap-info\","},{"line_number":102,"context_line":"\t\t\tflags: []string{"},{"line_number":103,"context_line":"\t\t\t\t\"--container-image\u003d\" + commonBsInfo,"},{"line_number":104,"context_line":"\t\t\t},"},{"line_number":105,"context_line":"\t\t\tisoUrl:      newIsoUrl,"},{"line_number":106,"context_line":"\t\t\tinputConfig: given,"},{"line_number":107,"context_line":"\t\t},"},{"line_number":108,"context_line":"\t}"},{"line_number":109,"context_line":"\tfor _, tt :\u003d range tests {"},{"line_number":110,"context_line":"\t\ttt :\u003d tt"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_4efbe145","line":107,"range":{"start_line":100,"start_character":0,"end_line":107,"end_character":4},"in_reply_to":"ff570b3c_9a853b5d","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}],"cmd/config/testdata/TestGetBootstrapInfoCmdGoldenOutput/get-multiple-bootstrapinfo.golden":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"e327e1e899c22790fa16bc9b26dac6e65c51cb58","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Error: accepts at most 1 arg(s), received 2"},{"line_number":2,"context_line":"Usage:"},{"line_number":3,"context_line":"  get-bootstrapinfo NAME [flags]"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Aliases:"},{"line_number":6,"context_line":"  get-bootstrapinfo, get-bootstrapinfos"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"ff570b3c_fe62b23d","line":3,"updated":"2020-05-14 14:02:16.000000000","message":"[NAME]","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Error: accepts at most 1 arg(s), received 2"},{"line_number":2,"context_line":"Usage:"},{"line_number":3,"context_line":"  get-bootstrapinfo NAME [flags]"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Aliases:"},{"line_number":6,"context_line":"  get-bootstrapinfo, get-bootstrapinfos"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"ff570b3c_0f612eaa","line":3,"in_reply_to":"ff570b3c_fe62b23d","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"}],"cmd/config/testdata/TestGetBootstrapInfoCmdGoldenOutput/missing.golden":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"e327e1e899c22790fa16bc9b26dac6e65c51cb58","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Error: Missing configuration: BootstrapInfo with name \u0027BootstrapInfoMissing\u0027"},{"line_number":2,"context_line":"Usage:"},{"line_number":3,"context_line":"  get-bootstrapinfo NAME [flags]"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Aliases:"},{"line_number":6,"context_line":"  get-bootstrapinfo, get-bootstrapinfos"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"ff570b3c_1e604632","line":3,"updated":"2020-05-14 14:02:16.000000000","message":"[NAME]","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Error: Missing configuration: BootstrapInfo with name \u0027BootstrapInfoMissing\u0027"},{"line_number":2,"context_line":"Usage:"},{"line_number":3,"context_line":"  get-bootstrapinfo NAME [flags]"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Aliases:"},{"line_number":6,"context_line":"  get-bootstrapinfo, get-bootstrapinfos"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"ff570b3c_4f5b26f6","line":3,"in_reply_to":"ff570b3c_1e604632","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"}],"cmd/config/testdata/TestSetBootstrapInfoGoldenOutput/set-bootstrap-info.golden":[{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Bootstrap info \"http://localhost:8099/debian-custom.iso\" created."}],"source_content_type":"application/octet-stream","patch_set":21,"id":"ff570b3c_9ad37b60","line":1,"range":{"start_line":1,"start_character":15,"end_line":1,"end_character":56},"updated":"2020-05-18 22:00:07.000000000","message":"I though this looked strange in the unit test - is the intention really to create a bootstrapinfo named \"http://localhost:8099/debian-custom.iso\"?","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Bootstrap info \"http://localhost:8099/debian-custom.iso\" created."}],"source_content_type":"application/octet-stream","patch_set":21,"id":"ff570b3c_ce3ed189","line":1,"range":{"start_line":1,"start_character":15,"end_line":1,"end_character":56},"in_reply_to":"ff570b3c_9ad37b60","updated":"2020-05-19 06:50:51.000000000","message":"No, it\u0027s fixed","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}],"docs/source/cli/cli.rst":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":348,"context_line":""},{"line_number":349,"context_line":"Sets a bootstrap info entry in the airshipctl config."},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"**name** (Optional, default: all defined bootstrap info configurations)"},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"Usage:"},{"line_number":354,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3f4c43b2_1818567f","line":351,"updated":"2020-04-17 13:19:34.000000000","message":"if limiting input in get-bootstrapinfo to 0 or 1 args, will need to update documentation to reflect this change.\n\nelse, doc should be updated to show example of multiple inputs","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":348,"context_line":""},{"line_number":349,"context_line":"Sets a bootstrap info entry in the airshipctl config."},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"**name** (Optional, default: all defined bootstrap info configurations)"},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"Usage:"},{"line_number":354,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f493fa4_cf87adb6","line":351,"in_reply_to":"3f4c43b2_1818567f","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"}],"pkg/config/cmds.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":174,"context_line":"\treturn modified, nil"},{"line_number":175,"context_line":"}"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"func RunSetBootstrapInfo(o *BootstrapInfoOptions, airconfig *Config, writeToStorage bool) (bool, error) {"},{"line_number":178,"context_line":"\tmodified :\u003d false"},{"line_number":179,"context_line":"\terr :\u003d o.Validate()"},{"line_number":180,"context_line":"\tif err !\u003d nil {"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_d31d2f67","line":177,"range":{"start_line":177,"start_character":5,"end_line":177,"end_character":24},"updated":"2020-04-17 13:19:34.000000000","message":"exported function should have a comment (can be tested via golint pkg/config/cmds.go)","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":174,"context_line":"\treturn modified, nil"},{"line_number":175,"context_line":"}"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"func RunSetBootstrapInfo(o *BootstrapInfoOptions, airconfig *Config, writeToStorage bool) (bool, error) {"},{"line_number":178,"context_line":"\tmodified :\u003d false"},{"line_number":179,"context_line":"\terr :\u003d o.Validate()"},{"line_number":180,"context_line":"\tif err !\u003d nil {"}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_8f6c8509","line":177,"range":{"start_line":177,"start_character":5,"end_line":177,"end_character":24},"in_reply_to":"3f4c43b2_d31d2f67","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"}],"pkg/config/config.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":707,"context_line":"\t}"},{"line_number":708,"context_line":"}"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"// Get bootstrap info"},{"line_number":711,"context_line":"func (c *Config) GetBootstrapInfo(bName string) (*Bootstrap, error) {"},{"line_number":712,"context_line":"\t_, exists :\u003d c.BootstrapInfos[bName]"},{"line_number":713,"context_line":"\tif !exists {"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_f39e6bb6","line":710,"range":{"start_line":710,"start_character":3,"end_line":710,"end_character":21},"updated":"2020-04-17 13:19:34.000000000","message":"comment on exported functions should be in the form of \"GetBootstrapInfo ...\"\n\nrun golint pkg/config/config.go for testing and details","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"3720e4f7d4bc188449aae729fc35ad2a50f32cbd","unresolved":false,"context_lines":[{"line_number":707,"context_line":"\t}"},{"line_number":708,"context_line":"}"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"// Get bootstrap info"},{"line_number":711,"context_line":"func (c *Config) GetBootstrapInfo(bName string) (*Bootstrap, error) {"},{"line_number":712,"context_line":"\t_, exists :\u003d c.BootstrapInfos[bName]"},{"line_number":713,"context_line":"\tif !exists {"}],"source_content_type":"text/x-go","patch_set":2,"id":"1f493fa4_ef55491f","line":710,"range":{"start_line":710,"start_character":3,"end_line":710,"end_character":21},"in_reply_to":"3f4c43b2_f39e6bb6","updated":"2020-04-20 23:51:30.000000000","message":"Done","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":736,"context_line":"\treturn bs, names"},{"line_number":737,"context_line":"}"},{"line_number":738,"context_line":""},{"line_number":739,"context_line":"// Set bootstrap info"},{"line_number":740,"context_line":"func (c *Config) AddBootstrapInfo(bInfo *BootstrapInfoOptions) *Bootstrap {"},{"line_number":741,"context_line":"\t// Create the new Airship config boootstrap"},{"line_number":742,"context_line":"\tnBootstrapInfo :\u003d NewBootstrapInfo()"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_33a9f3de","line":739,"range":{"start_line":739,"start_character":3,"end_line":739,"end_character":21},"updated":"2020-04-17 13:19:34.000000000","message":"ditto","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":745,"context_line":"\treturn nBootstrapInfo"},{"line_number":746,"context_line":"}"},{"line_number":747,"context_line":""},{"line_number":748,"context_line":"// Modify bootstrap info"},{"line_number":749,"context_line":"func (c *Config) ModifyBootstrapInfo(bootstrap *Bootstrap, bInfo *BootstrapInfoOptions) {"},{"line_number":750,"context_line":"\tif bInfo.NetworkConfigFileName !\u003d \"\" {"},{"line_number":751,"context_line":"\t\tbootstrap.Builder.NetworkConfigFileName \u003d bInfo.NetworkConfigFileName"}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_93af27e2","line":748,"range":{"start_line":748,"start_character":3,"end_line":748,"end_character":24},"updated":"2020-04-17 13:19:34.000000000","message":"ditto","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"5c73f1c659d33923fc1428aa00f5235254a26d6c","unresolved":false,"context_lines":[{"line_number":876,"context_line":"\tif !exists {"},{"line_number":877,"context_line":"\t\treturn nil, ErrMissingConfig{What: fmt.Sprintf(\"BootstrapInfo with name \u0027%s\u0027\", bName)}"},{"line_number":878,"context_line":"\t}"},{"line_number":879,"context_line":"\treturn bootstrap, nil"},{"line_number":880,"context_line":"}"},{"line_number":881,"context_line":""},{"line_number":882,"context_line":"// GetBootstrapInfos returns a slice containing all the BootstrapInfos associated with"}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_1303220f","line":879,"updated":"2020-05-14 11:20:57.000000000","message":"Looks like the code is duplicated in the function","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"a9a79686c8dcdb036570aaa007b80ea5a0c5b8ac","unresolved":false,"context_lines":[{"line_number":876,"context_line":"\tif !exists {"},{"line_number":877,"context_line":"\t\treturn nil, ErrMissingConfig{What: fmt.Sprintf(\"BootstrapInfo with name \u0027%s\u0027\", bName)}"},{"line_number":878,"context_line":"\t}"},{"line_number":879,"context_line":"\treturn bootstrap, nil"},{"line_number":880,"context_line":"}"},{"line_number":881,"context_line":""},{"line_number":882,"context_line":"// GetBootstrapInfos returns a slice containing all the BootstrapInfos associated with"}],"source_content_type":"text/x-go","patch_set":19,"id":"ff570b3c_af5002d6","line":879,"in_reply_to":"ff570b3c_1303220f","updated":"2020-05-14 18:00:49.000000000","message":"Done","commit_id":"40a3c2f275e8ad4ba25a844cb7da03686ca919c0"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":892,"context_line":"}"},{"line_number":893,"context_line":""},{"line_number":894,"context_line":"// AddBootstrapInfo creates new entry for bootstrap info"},{"line_number":895,"context_line":"func (c *Config) AddBootstrapInfo(bInfo *BootstrapInfoOptions) *Bootstrap {"},{"line_number":896,"context_line":"\t// Create the new Airship config boootstrap"},{"line_number":897,"context_line":"\tnBootstrapInfo :\u003d NewBootstrapInfo()"},{"line_number":898,"context_line":"\tc.BootstrapInfos[bInfo.Name] \u003d nBootstrapInfo"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_da57b3c9","line":895,"range":{"start_line":895,"start_character":63,"end_line":895,"end_character":73},"updated":"2020-05-18 22:00:07.000000000","message":"why does this need to be returned?","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":892,"context_line":"}"},{"line_number":893,"context_line":""},{"line_number":894,"context_line":"// AddBootstrapInfo creates new entry for bootstrap info"},{"line_number":895,"context_line":"func (c *Config) AddBootstrapInfo(bInfo *BootstrapInfoOptions) *Bootstrap {"},{"line_number":896,"context_line":"\t// Create the new Airship config boootstrap"},{"line_number":897,"context_line":"\tnBootstrapInfo :\u003d NewBootstrapInfo()"},{"line_number":898,"context_line":"\tc.BootstrapInfos[bInfo.Name] \u003d nBootstrapInfo"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_639b5e17","line":895,"range":{"start_line":895,"start_character":63,"end_line":895,"end_character":73},"in_reply_to":"ff570b3c_da57b3c9","updated":"2020-05-19 06:50:51.000000000","message":"just an old code, fixed","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":894,"context_line":"// AddBootstrapInfo creates new entry for bootstrap info"},{"line_number":895,"context_line":"func (c *Config) AddBootstrapInfo(bInfo *BootstrapInfoOptions) *Bootstrap {"},{"line_number":896,"context_line":"\t// Create the new Airship config boootstrap"},{"line_number":897,"context_line":"\tnBootstrapInfo :\u003d NewBootstrapInfo()"},{"line_number":898,"context_line":"\tc.BootstrapInfos[bInfo.Name] \u003d nBootstrapInfo"},{"line_number":899,"context_line":"\tc.ModifyBootstrapInfo(nBootstrapInfo, bInfo)"},{"line_number":900,"context_line":"\treturn nBootstrapInfo"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_3aba2f09","line":897,"range":{"start_line":897,"start_character":1,"end_line":897,"end_character":15},"updated":"2020-05-18 22:00:07.000000000","message":"nit: unnecessary intermediate variable","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":894,"context_line":"// AddBootstrapInfo creates new entry for bootstrap info"},{"line_number":895,"context_line":"func (c *Config) AddBootstrapInfo(bInfo *BootstrapInfoOptions) *Bootstrap {"},{"line_number":896,"context_line":"\t// Create the new Airship config boootstrap"},{"line_number":897,"context_line":"\tnBootstrapInfo :\u003d NewBootstrapInfo()"},{"line_number":898,"context_line":"\tc.BootstrapInfos[bInfo.Name] \u003d nBootstrapInfo"},{"line_number":899,"context_line":"\tc.ModifyBootstrapInfo(nBootstrapInfo, bInfo)"},{"line_number":900,"context_line":"\treturn nBootstrapInfo"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_238de6d2","line":897,"range":{"start_line":897,"start_character":1,"end_line":897,"end_character":15},"in_reply_to":"ff570b3c_3aba2f09","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}],"testutil/testconfig.go":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"10be087c7f974ca64903068e85b76449253fa3ea","unresolved":false,"context_lines":[{"line_number":237,"context_line":"\treturn b"},{"line_number":238,"context_line":"}"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"func DummyBootstrapInfo() *config.Bootstrap {"},{"line_number":241,"context_line":"\tbs :\u003d config.NewBootstrapInfo()"},{"line_number":242,"context_line":"\tcont :\u003d config.Container{"},{"line_number":243,"context_line":"\t\tVolume:           \"/dummy:dummy\","}],"source_content_type":"text/x-go","patch_set":2,"id":"3f4c43b2_d3c08f7e","line":240,"range":{"start_line":240,"start_character":5,"end_line":240,"end_character":23},"updated":"2020-04-17 13:19:34.000000000","message":"exported function should have a comment, run golint testutil/testconfig.go for more details","commit_id":"442da5f74a6cdb8611aa7d0d4cec85ba54d57704"},{"author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"change_message_id":"004b88a165cb5c66d89f2d2c41089e7d1eda07b0","unresolved":false,"context_lines":[{"line_number":238,"context_line":"// DummyBootstrapInfoOptions creates BootstrapInfoOptions config object"},{"line_number":239,"context_line":"// for unit testing"},{"line_number":240,"context_line":"func DummyBootstrapInfoOptions() *config.BootstrapInfoOptions {"},{"line_number":241,"context_line":"\tb :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":242,"context_line":"\tb.Runtime \u003d \"docker\""},{"line_number":243,"context_line":"\treturn b"},{"line_number":244,"context_line":"}"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"// DummyBootstrapInfo creates Bootstrap config object for unit testing"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_9a2ffb3d","line":243,"range":{"start_line":241,"start_character":0,"end_line":243,"end_character":9},"updated":"2020-05-18 22:00:07.000000000","message":"Simplify this:\n\n  return config.BootstrapInfoOptions {Runtime: \"docker\"}","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"},{"author":{"_account_id":23781,"name":"Stanislav Egorov","email":"realsystem@gmail.com","username":"StasEgorov"},"change_message_id":"43c97973e9290edb4ddc541cc71619719bfe5700","unresolved":false,"context_lines":[{"line_number":238,"context_line":"// DummyBootstrapInfoOptions creates BootstrapInfoOptions config object"},{"line_number":239,"context_line":"// for unit testing"},{"line_number":240,"context_line":"func DummyBootstrapInfoOptions() *config.BootstrapInfoOptions {"},{"line_number":241,"context_line":"\tb :\u003d \u0026config.BootstrapInfoOptions{}"},{"line_number":242,"context_line":"\tb.Runtime \u003d \"docker\""},{"line_number":243,"context_line":"\treturn b"},{"line_number":244,"context_line":"}"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"// DummyBootstrapInfo creates Bootstrap config object for unit testing"}],"source_content_type":"text/x-go","patch_set":21,"id":"ff570b3c_ce541101","line":243,"range":{"start_line":241,"start_character":0,"end_line":243,"end_character":9},"in_reply_to":"ff570b3c_9a2ffb3d","updated":"2020-05-19 06:50:51.000000000","message":"Done","commit_id":"eb99ddbf9ed1b18806387ef5e853d11cfc7f1cfe"}]}
