Random tools and helpers to work on a soft fork.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Loïc Dachary cefbbc3cce
ci/woodpecker/push/woodpecker Pipeline was successful Details
Merge pull request 'fix dependency loop on forgejo-dependency' (#14) from earl-warren/soft-fork-tools:wip-dependency into main
Reviewed-on: #14
3 weeks ago
.gitignore archive existing branches 5 months ago
.woodpecker.yml upgrade test to Forgejo 1.19 4 weeks ago
README.md example call 3 months ago
api-test.sh Use /usr/bin/env to find bash 3 months ago
api.sh do not use CI_ prefixes, that is unrelated 3 months ago
archive-branches-test.sh remove duplicate function 3 months ago
archive-branches.sh archive-branches.sh support for multiple stable branches 3 months ago
common-test.sh iterate over $STABLE 3 months ago
common.sh fix dependency loop on forgejo-dependency 3 weeks ago
git.sh Use /usr/bin/env to find bash 3 months ago
main.sh Use /usr/bin/env to find bash 3 months ago
pull-branches.sh Use /usr/bin/env to find bash 3 months ago
rebase-test.sh add test rebase_check_status_test & rebase_feature_branch_test 3 months ago
rebase.sh switching branches is a local action, no DRY_RUN 3 months ago
tests.sh run rebase_create_branch_test tests 3 months ago

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