Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for searching groups#55

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
dserodio wants to merge2 commits intopython-gitlab:masterfromdserodio:search_groups
Closed

Add support for searching groups#55

dserodio wants to merge2 commits intopython-gitlab:masterfromdserodio:search_groups

Conversation

dserodio
Copy link

It can probably be improved, but works for my needs

@ghost
Copy link

I agree with you Gauvain. It would be nice if these kind of 'search' functions are implemented directly in the classes (like Group or project).

What do you think about this:

A special class to do queries (we will have the possibility to choose between):

  1. id=None, to list everything
  2. or GitlabQuery(), to add some rules
    projects = git.Project(GitlabQuery(name="projectname"))    projects = git.Project(GitlabQuery(is_admin=True))    groups = git.Group(GitlabQuery(name="groupname"))

gpocentek pushed a commit that referenced this pull requestJan 9, 2016
Factorize the code to avoid duplication with the ProjectManager class.Implement unit tests for the group search.Original patchh from Daniel Serodio (PR#55).
@gpocentek
Copy link
Contributor

The code has changed recently and it's been easier to implement this method on the group manager. I pushed the change in commit5513d0f. Thank you!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@dserodio@gpocentek

[8]ページ先頭

©2009-2025 Movatter.jp