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

[Feature request] Allow filter branches #38

Open
Aokromes opened this issue Aug 16, 2021 · 5 comments
Open

[Feature request] Allow filter branches #38

Aokromes opened this issue Aug 16, 2021 · 5 comments

Comments

@Aokromes
Copy link

how about allow search only selected branches?
on that way we can filter out unwanted branches.

@Faq
Copy link

Faq commented Aug 17, 2021

But then You should know precise name of it or meant is some other criteria?

@Aokromes
Copy link
Author

yes, filter by master branch or dev branch or whatever branch :)

@payne911
Copy link
Collaborator

As it is, there is no branch scanning: the only branch I end up looking at is the "default_branch" which ends up being either master, main, or (I think) whatever the main branch is changed in the repo's configuration by the owner.

The reason for that is the amount of API calls that would be required to scan each branch individually would be restrictive.

Thus, a "negative filter" that would allow people to filter by branch would be rather useless. However, what could be discussed is the idea of a "positive filter" which would allow people to input which branches to compare (thus replace the value of the "default_branch"). But to be honest, that seems like a low-value feature. I do not personally think I'll spend time on that.

@lanrat
Copy link

lanrat commented Apr 3, 2023

For another data-point, I too would be interested in having the ability to search non-default branches. This would be useful for uncovering feature branches for projects that have yet to be merged into the default branch.

By default I'd like to be able to search all branches with activity, but I am aware that this may be infeasible due to the API limits.

One possible alternative or way to accomplish this could be to poll the GitHub repository Insights Network Graph endpoints. That seems to do something similar to this tool, but does return information on every possible branch.

Example: https://github.com/useful-forks/useful-forks.github.io/network

@esauvisky
Copy link

For another data-point, I too would be interested in having the ability to search non-default branches. This would be useful for uncovering feature branches for projects that have yet yet to be merged into a default branch.

By default I'd like to be able to search all branches with activity, but I am aware that this may be infeasible due to the API limits.

One possible alternative or way to accomplish this could be to poll the GitHub repository Insights Network Graph endpoints. That seems to do something similar to this tool, but does return information on every possible branch.

Example: https://github.com/useful-forks/useful-forks.github.io/network

I second this. I ended up here by looking for a similar functionality which was being able to filter or at least view forks' commits (particularly messages) in a more data friendly format, given the Insights Network Graph shows them while hovering each commit (and does not make any extra API calls when doing it so).

The reasoning behind it is that very often when I'm looking at the network graph I find myself having to go through all forks' commits one by one to see what the changes were about until I find something related to what I am looking for, therefore having a more data friendly visualization of the same data would be very useful.

I understand that doing this with individual API calls is not realistic, but figuring out a way of leveraging the insights network graph endpoint's data would definitely open up new possibilities for more features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants