summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-05-10 14:48:20 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-05-10 14:48:20 -0600
commited6256664c3f682a491edeec85c76422887aa875 (patch)
tree86d5ed600dfe4d9ae08211daa149a5814bd4eddc
parentc1511e39f92df2a125c5bfa5e9eeaf50a6ed76c8 (diff)
imworkingon: Better support 'anonymous' GitHub repos
-rw-r--r--cmd/generate/main.go5
-rw-r--r--imworkingon/contribs.yml4
2 files changed, 7 insertions, 2 deletions
diff --git a/cmd/generate/main.go b/cmd/generate/main.go
index d50b0fe..e322e5c 100644
--- a/cmd/generate/main.go
+++ b/cmd/generate/main.go
@@ -125,6 +125,11 @@ func mainWithError() error {
}
}
}
+ if m := reGitHubPR.FindStringSubmatch(c.URLs[0]); m != nil {
+ user := m[1]
+ repo := m[2]
+ return Upstream{URLs: []string{c.URLs[0]}, Name: user + "/" + repo}
+ }
return Upstream{URLs: []string{c.URLs[0]}, Name: "???"}
},
}).
diff --git a/imworkingon/contribs.yml b/imworkingon/contribs.yml
index 35bb4fe..1869802 100644
--- a/imworkingon/contribs.yml
+++ b/imworkingon/contribs.yml
@@ -119,7 +119,7 @@
`html.UnescapeString` that were found when working on the
documentation parser in gotk4.
- urls: [https://github.com/luigifab/awf-extended/pull/9]
- tags: [Parabola]
+ tags: [Parabola, GTK]
desc: |
Just a minor touch-up to `configure.ac` that I noticed could be
- made when updating the `pcr/awf` package.
+ made when updating Parabola's `pcr/awf` package.