Random tools and helpers to work on a soft fork.
Go to file
Earl Warren d061a55703
ci/woodpecker/push/woodpecker Pipeline was successful Details
Merge pull request 'add v1.20' (#15) from earl-warren/soft-fork-tools:wip-1.20 into main
Reviewed-on: #15
2023-06-12 21:38:42 +00:00
.gitignore
.woodpecker.yml upgrade test to Forgejo 1.19 2023-05-02 22:03:57 +02:00
README.md example call 2023-02-20 16:30:51 +01:00
api-test.sh
api.sh do not use CI_ prefixes, that is unrelated 2023-02-20 10:29:02 +01:00
archive-branches-test.sh remove duplicate function 2023-02-25 08:56:25 +01:00
archive-branches.sh archive-branches.sh support for multiple stable branches 2023-02-25 01:03:44 +01:00
common-test.sh iterate over $STABLE 2023-02-25 08:56:25 +01:00
common.sh add missing upstream branch 2023-06-12 23:29:46 +02:00
git.sh
main.sh
pull-branches.sh
rebase-test.sh add test rebase_check_status_test & rebase_feature_branch_test 2023-02-20 16:27:39 +01:00
rebase.sh switching branches is a local action, no DRY_RUN 2023-02-20 15:51:01 +01:00
tests.sh run rebase_create_branch_test tests 2023-02-20 16:04:07 +01:00

README.md

In support of the documented Forgejo workflow.

Dry run

DRY_RUN=dry_run REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh archive_branches and copy paste the output in a shell

Archive branches

REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh archive_branches

Rebase branches

OWNER=forgejo NAME=forgejo FORGEJO_INSTANCE=codeberg.org FORGEJO_SCHEME=https FORGEJO_TOKEN=$rebasetoken REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh rebase_feature_branch v1.18/forgejo-development