Re: [OE-core] [RFC v3 1/2] bitbake-layers: Add ability to update the reference of repositories

2024-01-16 Thread Alexander Kanavin
On Tue, 16 Jan 2024 at 12:02, Jermain Horsman wrote: > I did implement a new version, it is available on the mailing list, > it should include all other feedback as well. Thanks for persevering; the last version is good, so please re-submit it without the RFC. Once it lands we can think of

Re: [OE-core] [RFC v3 1/2] bitbake-layers: Add ability to update the reference of repositories

2024-01-16 Thread Jermain Horsman
> Is comma (,) as a separator okay? Maybe : is better? In my opinion a comma suggest a list, whereas a semicolon suggests a relation, so I've opted to use ':'. I did implement a new version, it is available on the mailing list, it should include all other feedback as well. Sincerely, Jermain

Re: [OE-core] [RFC v3 1/2] bitbake-layers: Add ability to update the reference of repositories

2024-01-09 Thread Alexander Kanavin
On Mon, 8 Jan 2024 at 15:42, Jermain Horsman wrote: All the new options need longer, more detailed descriptions. > +parser.add_argument('--update', '-u', > +action='store_true', > +help='Updates an existing layers setup.') "Updates an existing layer setup json

Re: [OE-core] [RFC v3 1/2] bitbake-layers: Add ability to update the reference of repositories

2024-01-08 Thread Jermain Horsman
There are a few additional remarks that I'd like some input on. > +logger.error("No repository specified. Please provide one > using '--repository REPOSITORY'.") > +raise Exception("No repository specified. Please provide one > using '--repository REPOSITORY'.")

[OE-core] [RFC v3 1/2] bitbake-layers: Add ability to update the reference of repositories

2024-01-08 Thread Jermain Horsman
From: Jermain Horsman This uses an existing setup-layers configuration and modifies one or more repositories using a reference provided by the user. This is a very minimal implementation, no validation of this reference is done and it is left to the user to provide a valid value.