Skip to content

Conversation

bobrippling
Copy link
Collaborator

@bobrippling bobrippling commented Sep 10, 2025

As seen in #3932, it can take a bit of research to find the author of an app. This PR adds an author field so people can add themselves to be notified of PRs which might need their review.
I've also added a few people who I could programatically glean from the git history.

Doing this from a branch within the repo to avoid the permission problems in #3935. Going off #3996, it looks like this'll need to be merged to master before PRs will be able to work with it.

Copy link

tagging thyttan for apps/autoreset
tagging bb0x88 for apps/beeptest
tagging bobrippling for apps/btadv
tagging thyttan for apps/bwclklite
tagging nxdefiant for apps/chess
tagging thyttan for apps/chronlog
tagging bobrippling for apps/clkinfostopw
tagging thyttan for apps/confthyttan
tagging bobrippling for apps/ctrlpad
tagging thyttan for apps/delaylock
tagging thyttan for apps/dragboard
tagging bobrippling for apps/drained
tagging thyttan for apps/fastreset
tagging bruceblore for apps/folderlaunch
tagging thyttan for apps/gbdiscon
tagging nxdefiant for apps/gpsautotime
tagging nxdefiant for apps/gpsmagcourse
tagging nxdefiant for apps/hidjoystick
tagging nxdefiant for apps/hrmmar
tagging thyttan for apps/longpressbuzz
tagging thyttan for apps/messagesmusic
tagging nxdefiant for apps/miclock2
tagging thyttan for apps/msgtwscr
tagging thyttan for apps/msgwakefup
tagging nxdefiant for apps/myprofile
tagging bobrippling for apps/pace
tagging thyttan for apps/podadrem
tagging bobrippling for apps/popconlaunch
tagging bobrippling for apps/promenu
tagging bobrippling for apps/recorder
tagging bobrippling for apps/rep
tagging thyttan for apps/runplus
tagging retcurve for apps/scrolly
tagging thyttan for apps/sevenmin
tagging nxdefiant for apps/sleepphasealarm
tagging nxdefiant for apps/sportmode
tagging thyttan for apps/spotrem
tagging nxdefiant for apps/swipeinv
tagging thyttan for apps/swscroll
tagging nxdefiant for apps/taglaunch
tagging bobrippling for apps/tally
tagging tonykakuuu for apps/txtreader
tagging thyttan for apps/voldisp
tagging nxdefiant for apps/widalarmeta
tagging bobrippling for apps/widbattpwr
tagging bobrippling for apps/widbtstates
tagging nxdefiant for apps/widclkscrl
tagging bobrippling for apps/widhid
tagging nxdefiant for apps/widhrzone
tagging thyttan for apps/widminbate
tagging nxdefiant for apps/widshipbell
tagging nxdefiant for apps/zambretti

@bobrippling bobrippling changed the title WIP: testing GH actions from inside the BangleApps repo Tag app authors in PRs to their apps Sep 10, 2025
@RKBoss6
Copy link
Contributor

RKBoss6 commented Sep 10, 2025

Nice! This looks really good!

@RKBoss6
Copy link
Contributor

RKBoss6 commented Sep 10, 2025

I'm wondering, does the field support multiple authors?

@bobrippling
Copy link
Collaborator Author

I'm wondering, does the field support multiple authors?

Knew there was something I'd forgot - yes, thanks!

@gfwilliams
Copy link
Member

Thanks! This looks good, and glad it's working now - as you say in the header it'd be nice if the author was higher up the JSON though.

I see it says '54 files changed' but there are 600-odd apps? Or is it only searching recent history?

I'm wondering, does the field support multiple authors?

You could always separate them with commas?

@RKBoss6
Copy link
Contributor

RKBoss6 commented Sep 11, 2025

@gfwilliams as for the 54 files changed, @bobrippling manually added them, as far as I can tell. App authors will have to add their username to their apps in the future...

@bobrippling
Copy link
Collaborator Author

I see it says '54 files changed' but there are 600-odd apps? Or is it only searching recent history?

@gfwilliams as for the 54 files changed, @bobrippling manually added them, as far as I can tell. App authors will have to add their username to their apps in the future...

Yeah they were manually added, the remaining apps would have to be either updated also in future or we could track down the first commit to that app an assume that's our author

@gfwilliams
Copy link
Member

Maybe I'm being a bit of a luddite here, but would it make sense for us to not have a GitHub action, but just a script that we ran manually every so often that set the author? It'd be easier to get it to set the author tag in the right place and to handle >1 author - it wouldn't be automatic but we could then just have a single commit that added the author info.

If the GitHub action doesn't run on PRs but only branches, presumably it means we couldn't rely on it to always update the author (if we get a PR from someone who doesn't have GitHub Actions?)

I'm not entirely sure whether having something that modifies the contents or PRs for us is going to come back and bite us later? Like if I did a PR from my PC, then changed the metadata around where the author tag went in and went to push again, wouldn't I get a merge error?

@RKBoss6
Copy link
Contributor

RKBoss6 commented Sep 12, 2025

Hmm, we could make a script that just scans for the first commit author and sets the metadata author tag to that person, asa way to update all apps, but I like the idea of having a GitHub action for tagging the authors in every PR

@bobrippling
Copy link
Collaborator Author

Maybe I'm being a bit of a luddite here, but would it make sense for us to not have a GitHub action, but just a script that we ran manually every so often that set the author? It'd be easier to get it to set the author tag in the right place and to handle >1 author - it wouldn't be automatic but we could then just have a single commit that added the author info.

Hmm, we could make a script that just scans for the first commit author and sets the metadata author tag to that person, asa way to update all apps, but I like the idea of having a GitHub action for tagging the authors in every PR

Ah I've perhaps confused things here - the setting of authers I've left as entirely manual for now, I just used a hacky script initially to populate a few apps I could be certain about. But I don't plan on automating that hacky script any time soon

Copy link

tagging thyttan for apps/autoreset
tagging bb0x88 for apps/beeptest
tagging bobrippling for apps/btadv
tagging thyttan for apps/bwclklite
tagging nxdefiant for apps/chess
tagging thyttan for apps/chronlog
tagging bobrippling for apps/clkinfostopw
tagging thyttan for apps/confthyttan
tagging bobrippling for apps/ctrlpad
tagging thyttan for apps/delaylock
tagging thyttan for apps/dragboard
tagging bobrippling for apps/drained
tagging thyttan for apps/fastreset
tagging bruceblore for apps/folderlaunch
tagging thyttan for apps/gbdiscon
tagging nxdefiant for apps/gpsautotime
tagging nxdefiant for apps/gpsmagcourse
tagging nxdefiant for apps/hidjoystick
tagging nxdefiant for apps/hrmmar
tagging thyttan for apps/longpressbuzz
tagging thyttan for apps/messagesmusic
tagging nxdefiant for apps/miclock2
tagging thyttan for apps/msgtwscr
tagging thyttan for apps/msgwakefup
tagging nxdefiant for apps/myprofile
tagging bobrippling for apps/pace
tagging thyttan for apps/podadrem
tagging bobrippling for apps/popconlaunch
tagging bobrippling for apps/promenu
tagging bobrippling for apps/recorder
tagging bobrippling for apps/rep
tagging thyttan for apps/runplus
tagging retcurve for apps/scrolly
tagging thyttan for apps/sevenmin
tagging nxdefiant for apps/sleepphasealarm
tagging nxdefiant for apps/sportmode
tagging thyttan for apps/spotrem
tagging nxdefiant for apps/swipeinv
tagging thyttan for apps/swscroll
tagging nxdefiant for apps/taglaunch
tagging bobrippling for apps/tally
tagging tonykakuuu for apps/txtreader
tagging thyttan for apps/voldisp
tagging nxdefiant for apps/widalarmeta
tagging bobrippling for apps/widbattpwr
tagging bobrippling for apps/widbtstates
tagging nxdefiant for apps/widclkscrl
tagging bobrippling for apps/widhid
tagging nxdefiant for apps/widhrzone
tagging thyttan for apps/widminbate
tagging nxdefiant for apps/widshipbell
tagging nxdefiant for apps/zambretti

Copy link

Skipping PR

@bobrippling
Copy link
Collaborator Author

bobrippling commented Sep 13, 2025

Should now just get a tag for gfw 🤞

(for the changes I made to example apps)

Copy link

tagging gfwilliams for apps/_example_app, apps/_example_clkinfo, apps/_example_clock, apps/_example_widget

Copy link

tagging gfwilliams for apps/_example_app, apps/_example_clkinfo, apps/_example_clock, apps/_example_widget

@bobrippling
Copy link
Collaborator Author

I'm happy with this now, will run a test PR after it's merged to try it out

@gfwilliams
Copy link
Member

Ok, great - let's merge then!

@gfwilliams gfwilliams merged commit 7c4af9f into master Sep 15, 2025
2 of 3 checks passed
@gfwilliams gfwilliams deleted the test/app-authors-tag branch September 15, 2025 13:34
@gfwilliams
Copy link
Member

Thanks for your work on this!

@bobrippling
Copy link
Collaborator Author

Thanks for the reviews & merge!

@RKBoss6 RKBoss6 mentioned this pull request Sep 18, 2025
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

Successfully merging this pull request may close these issues.

3 participants