[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: master repo renamed, new scripts



Hi Cédric, thanks for doing this!

On Fri, Jan 26, 2018 at 01:13:05AM +0100, Cédric Boutillier wrote:
> Dear team members,
> 
> Since the name `pkg-ruby-extras` is a residue of the Alioth group name,
> I went ahead and renamed the repository `meta`.
> 
>   ssh://git@salsa.debian.org/ruby-team/meta
>   https://salsa.debian.org/ruby-team/meta
> 
> I added two scripts to it:
> - setup-project, which creates from the command line a repo on salsa
>   with some configuration bits (for now IRC notification and `tag
>   pending` webhook)
> - make-project-lists, which creates a file projects.list which contains
>   a list of all projects name under the ruby-team group
> 
> these two scripts use functions under lib/salsa.rb and require to have
> an API token stored in a file salsarc like:
> 
>   SALSA_TOKEN="xxxxxxxxxxxxx"
> 
> in a way compatible with the salsa scripts developed by Mehdi Dogguy
>   https://salsa.debian.org/mehdi/salsa-scripts
> 
> I also updated `update-mrconfig` to complete the transition to salsa
> (make-project-lists should be run before update-mrconfig to have an
> up-to-date list of packages. It takes some time!)
> 
> Feel free to improve/rename/extend them.

I want to add a call to make-project-list at the top of update-mrconfig
so that we don't need to remember 2 steps when updating the mr
configuration ... is there any drawback in doing that? make-project-list
doesn't take too long here.

diff --git a/update-mrconfig b/update-mrconfig
index 4bd1cda..5132fb5 100755
--- a/update-mrconfig
+++ b/update-mrconfig
@@ -19,6 +19,7 @@ if [ -z "$OUTPUT" ] ; then
 fi

 msg "Retrieving package list"
+./make-projects-list

 # Packages hosted in Git
 GIT_REPODIR="meta"

Attachment: signature.asc
Description: PGP signature


Reply to: