A script to modify creation time flags in Gitea to match the oldest Git commit. https://code.ivysaur.me/update-gitea-ctimes
php
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
mappu 38582f431e initial commit 11 months ago
doc initial commit 11 months ago
.gitignore initial commit 11 months ago
README.md initial commit 11 months ago
update-gitea-ctimes initial commit 11 months ago

README.md

update-gitea-ctimes

A script to modify creation time flags in Gitea to match the oldest Git commit.

This is helpful for ordering repositories chronologically by creation-time after a migration to Gitea (e.g. for teafolio).

Written in PHP

Usage

Usage: update-gitea-ctimes gitea.db path/to/repositories

Running the command will produce SQL on stdout that can be manually inspected before applying it to the live SQLite database.