mirror of
https://github.com/rwinkhart/go-gitea-vendor.git
synced 2026-09-01 06:46:51 -04:00
Sort in ascending order so the last updated ones end up last updated in the ggv org
This commit is contained in:
@@ -39,7 +39,7 @@ func main() {
|
||||
os.Exit(0)
|
||||
}
|
||||
baseURL := os.Args[1]
|
||||
apiURL := baseURL + "/api/v1/repos/search?sort=updated&order=desc&limit=999"
|
||||
apiURL := baseURL + "/api/v1/repos/search?sort=updated&order=asc&limit=999"
|
||||
username := os.Args[2]
|
||||
var organization string
|
||||
if len(os.Args) == 4 {
|
||||
|
||||
Reference in New Issue
Block a user