phillipj / gitlab-search

Command line tool to search for contents in GitLab repositories
MIT License
310 stars 37 forks source link

Output archived-state of projects #20

Closed flansch closed 2 years ago

flansch commented 3 years ago

As we've got a lot of archived projects, and they are often not relevant in searches, it would be really helpful to get a hint in the output if a project is archived. Or even better would be a parameter to restrict the search to projects that haven't been archived.

phillipj commented 3 years ago

This sounds really helpful indeed!

Ideally both of your suggestions would land some day, but they certainly wouldn't have to implemented at the same time.

phillipj commented 3 years ago

@flansch would something like the below suite your need to at least get a hint the repo in question is archived?

Screenshot 2021-04-03 at 23 43 14
phillipj commented 3 years ago

The (archived) indicator in the title landed and got published as v1.3.0.

In other words, the bonus feature of providing a filter to include/exclude archived projects is the last missing piece before this issue can be closed.

flansch commented 3 years ago

Sorry for answering so late. Today I tested your changes and it works great. It is really helpful to see which results are not relevant to me :-) While filtering would be great it isn't really necessary.

phillipj commented 3 years ago

Yeay great to hear it's useful, thx for following up 👍🏻