Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review options and mark some as deprecated due to orgs and users introduction at API level #29

Open
mborne opened this issue Nov 25, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@mborne
Copy link
Owner

mborne commented Nov 25, 2018

Options

Client parameters for hosted GIT API

Name Description Example
gitlab-url URL of git hosting service http://gitlab.localhost
gitlab-token Auth token for git hosting API

This parameters should be renamed to url and token (it has no effect for users as it they are not options but command line arguments.

Filter projects

Name Description Example
--orgs Filter projects according to orgs/groups symfony,FriendsOfSymfony
--users Filter projects according to users mborne,ochorocho
--include-if-has-file Filter projects that doesn't contains a given file .satisinclude
--project-type Filter projects according to type defined in composer.json library
--ignore Filter projects according to a regexp (^phpstorm)
--projectFilter DEPRECATED Filter projects using search parameter in GITLAB API
--gitlab-namespace DEPRECATED Filter projects according to gitlab-namespace 2,Diaspora

SATIS generation

Name Description Example
--template Use a custom SATIS template instead of default one satis-template.json
--name Define SATIS repository name mborne/satis-gitlab-repository
--homepage Define SATIS URL appearing in HTML web page http://satis.localhost
--archive Download tar ball for dependencies (mirror mode)
--no-token Disable gitlab-token saving in generated satis.json
--output Remplace default output path for satis.json

Deprecated options

--projectFilter

This option has been introduced to have the hability to filter gitlab.com projects
while listing projects at API level.

--orgs and --users will provide a better control for this use case. --ignore, --include-if-has-file and co will provide a stronger control to complete the job.

--gitlab-namespace

The current implementation is not based on the API of the git hosting service.

--orgs option is more efficient as it provides gitlab group filtering at API level and makes it faster to filter by group on gitlab.com for example.

@mborne mborne added the enhancement New feature or request label Nov 25, 2018
mborne added a commit that referenced this issue Dec 1, 2018
…, complete README, improve github, gitlab and gogs support (fix gogs issue relative to token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant