Random tools and helpers to work on a soft fork.
Go to file
Earl Warren dc0e79b3f2
fix dependency loop on forgejo-dependency
2023-05-10 10:51:30 +02:00
.gitignore archive existing branches 2023-01-10 11:55:55 +01:00
.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 Use /usr/bin/env to find bash 2023-02-20 10:22:25 +01:00
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 fix dependency loop on forgejo-dependency 2023-05-10 10:51:30 +02:00
git.sh Use /usr/bin/env to find bash 2023-02-20 10:22:25 +01:00
main.sh Use /usr/bin/env to find bash 2023-02-20 10:22:25 +01:00
pull-branches.sh Use /usr/bin/env to find bash 2023-02-20 10:22:25 +01:00
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