Re: [PATCH RSB] Fixes for getting sources

2022-08-16 Thread Chris Johns
On 17/8/2022 12:13 pm, Joel Sherrill wrote:
> On Tue, Aug 16, 2022, 6:34 PM mailto:chr...@rtems.org>> 
> wrote:
> 
> Hi
> 
> These patches fix getting sources for all the packages so releases
> can be CI tested to catch breakages closer to the time they happen.
> 
> 
> Thanks. I didn't expect a question to turn into a quest for you. 

Haha .. it had to be done or the release scripts do not work unless on an RSB
branch with a cleaned up set of buildset and config files.

> Is this for 5 and 6?

Both. The release scripts are tagged and not branched. A releases when ever it
is made it made for the hosts of that time.

> The get sources tool now finds the top level buildset files and only
> fetches the sources for them. This avoids processing and handling
> configurations that are out of date>
> What's an example command for this?
> 

./source-builder/sb-get-sources --download-dir test-src --log=gw.txt
--stop-on-error --trace --used=used.txt --unused=unused.txt

> The tool also captures the used buildset and config files and if
> all top level buildset files are fetched the unused files can be
> listed. This can be used to clean up the repo.
> 
> I think it is time to remove old configs. There are some using CVS
> or depending on host versions of tools no one runs anymore.
> 
> I'm good with these patches and removing unused configurations.

Yeah it is time to do this.

It would be good for you to manually do a run and check these files to make sure
I have it right before we start the removal process.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH RSB] Fixes for getting sources

2022-08-16 Thread Joel Sherrill
On Tue, Aug 16, 2022, 6:34 PM  wrote:

> Hi
>
> These patches fix getting sources for all the packages so releases
> can be CI tested to catch breakages closer to the time they happen.
>

Thanks. I didn't expect a question to turn into a quest for you.

Is this for 5 and 6?



> The get sources tool now finds the top level buildset files and only
> fetches the sources for them. This avoids processing and handling
> configurations that are out of date.
>

What's an example command for this?


> The tool also captures the used buildset and config files and if
> all top level buildset files are fetched the unused files can be
> listed. This can be used to clean up the repo.
>
> I think it is time to remove old configs. There are some using CVS
> or depending on host versions of tools no one runs anymore.
>

I'm good with these patches and removing unused configurations.

--joel

>
> Chris
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel