Re: salsa.d.o: How to create a new repo

2018-02-19 Thread Chris Hofstaedtler
* Georg Faerber  [180218 03:22]:
[..]
> I guess this is because of my ACL to the ruby-team on salsa.
> 
> Therefore:
> I would like to update the wiki, to make the instructions more detailed, to
> save work for other people.
> 
> Any input regarding this?

Not much input from me, but I've just gone through the member list
and made it so that:

-guest users now have Master access
non-guest users (=DDs) have Owner access

That should allow everyone to create new repositories.

I think that this is - at least for now - an appropriate change.
FD is always possible :-)

Chris



salsa.d.o: How to create a new repo

2018-02-17 Thread Georg Faerber
Hi all,

I would like to tackle renaming ruby-factory-girl to ruby-factory-bot
[1], but unfortunately, I've failed to set up a new repo on salsa.

According to the wiki [2], one should run ./setup-project.
But this complains about a missing salsarc file in the parent dir.

After creating the file, running the command again gives a traceback,
that SALSA_TOKEN is not defined. After commenting in SALSA_TOKEN
(currently, it's commented out) in lib/salsa.rb the help text is shown,
finally. (I've created a MR [3] to fix salsa.rb accordingly.)

I couldn't figure out how salsarc should look like. I've tried various
formats to assign the var name, but failed doing so.

I've then used plain 'export GITLAB_API_PRIVATE_TOKEN=...' and this
"worked":
Server responded with code 400, message: 'limit_reached' , 'namespace' is not 
valid. Request URI: https://salsa.debian.org/api/v4/projects
E ruby-factory-bot: repository creation failed. Probably already exists.
Server responded with code 404, message: 404 Project Not Found. Request URI: 
https://salsa.debian.org/api/v4/projects/ruby%2Dteam%2Fruby%2Dfactory%2Dbot
E ruby-factory-bot: repository not found. Stopping here.

I guess this is because of my ACL to the ruby-team on salsa.

Therefore:
I would like to update the wiki, to make the instructions more detailed, to
save work for other people.

Any input regarding this?

Cheers,
Georg


[1] https://lists.debian.org/debian-ruby/2017/11/msg6.html
[2] 
https://wiki.debian.org/Teams/Ruby/Packaging?action=subscribe#Creating_a_new_Git_repository_and_pushing_an_existing_package_to_salsa.debian.org
[3] https://salsa.debian.org/ruby-team/meta/merge_requests/3


signature.asc
Description: Digital signature