Skip to content

EwaldBorger/ReposReleasesOverview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ReposReleasesOverview

A simple HTML/JS page to show if your organization's repos need releases, it checks if the main branch has commits pushed after the lastest release. It also shows open PRs if you want and you can exclude repos from being checked.

In my team, we noticed we would like to have something to tell us which repositories need to have new releases, as this sometimes gets lost in the process. Or at least in our process, we only develop internal code and release management is not something we do everywhere.

So, I used our Claude subscription to try my hand at letting an AI agent create something I need. It took six iterations, but this is what I had in mind. Feel free to copy and adapt (GNU GPL v3).

Prompts

For fun my prompts (and see I'm a newbie at this :)):

I'd like a bit of code to tell for a set of private github repositories if there are changes in the main branch that have not been released yet. As in: if the last release tag is older than the last commit in main branch. bash, python or php will do, which ever is the handiest. Keep it simple

This generated a nice bash script.

and if we would want this to be a web based dashboard?

It started creating React code...

oh wait, sorry, we are more of the angular way

A UI like the current one, with multiline input for the repo names.

what would it take make it go over all repos in our organization and then ignore the ones that don't have releases (maybe just list them below so they can be put in an exclude list (so implement that as well)), or that we can't access (just mention them below is fine). Our goal is to know where we stand.

Getting there, but would be nice to only see specific repos/search.

please add an option to filter the output, as in: offer an option to type parts of the repo names and then temporarily hide the ones that don't match, keep the grouping as it is. when the filter is removed, show all results again (without scanning again)

And yeah, why not:

yes, more feature creep:

  • please handle archived repos the same as those without releases: list them and be able to exclude them
  • offer a direct link to the repo (open in new tab)
  • add a "open pull requests" counter/pill per repo, only for non draft PRs, make it toggleable in code
  • the filter box can be hidden when scan is pressed again
  • the filter box now shows a placeholder ending in "\u2026", presumably unicode isn't handled in a placeholder
  • if possible, make use of wider screens by showing more columns

That resulted in something close to the resulting file.

More ideas incoming: show the commits that were added since the last release in a popup or hover or something. If it doesn't slow it down, gather this data in the main loop, otherwise on click/mouseover, not sure

And this is the newest version, Claude decided that ondemand would be the best option, caching the result.

In conclusion

So, I can only take credit for feeding the AI with what we need. I don't expect this code to be updated in the future... we will probably take some learning from it and integrate it in another dashboard.

About

A simple HTML/JS page to show if your organization's repos need releases, it checks if the main branch has commits pushed after the lastest release. It also shows open PRs if you want and you can exclude repos from being checked.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages