Skip to content

Commit

Permalink
remove old runbook scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Oct 21, 2024
1 parent 23dbb1a commit 00c7b86
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 384 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ This is mostly for documenting how the development / release of deadsnakes
packages is done.


### building a package
### building a `py#.##` repo

From the source directory (such as `python3.6`) run the `./build` script
included in this repository. For instance:
first materialize the repo / distribution you want to work on:

```bash
../runbooks/build
../runbooks/meta-gbp materialize noble
```

`./build` will pick up on the codename specified in `debian/changes` and
build debian packages using `docker`.
then call build

```bash
../runbooks/meta-gbp build
```

The output will be in `../dist`.

Expand Down
101 changes: 0 additions & 101 deletions import-upstream

This file was deleted.

1 change: 0 additions & 1 deletion meta-gbp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ def _update(*, rev: str | None, interactive: bool) -> int:

_cmd_q(*git_work, 'merge', rev)

# TODO: interactive this like `refresh-patches`
if _cmd_r(TOOLS, 'gbp', 'pq', 'rebase', cwd='work'):
if not interactive:
return 1
Expand Down
23 changes: 6 additions & 17 deletions new_nightly.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,10 @@
1. create repository
- add org secrets to repository
- add repo to nightly team
1. copy `README.md` / `.github` from previous nightly
- adjust the version in both
1. create the `upstream` branch:
- `git remote add cpython [email protected]:python/cpython`
- `git fetch cpython refs/heads/main:refs/heads/upstream`
- `git checkout upstream`
1. create the `v3.XX.0a0` tag
1. create each branch:
- `git checkout upstream -b ubuntu/jammy`
- `cp -r ../python3.XX-nightly/debian .`
- `git add debian`
- `git commit -m 'import debian from previous version'`
- (replace out the version with the new version)
- refresh patches
- bump the version (`3.xx.0~a0-1+jammy` to change the package name)
1. delete non-alpha0 tags
- `git tag -l | grep -v a0 | xargs git tag -d`
1. copy `main` branch from previous nightly
1. replace versions
- `README.md`
- changelogs (make sure to update package name too!)
- force version to `3.##.0~a0-1+jammy1` for example
- `control` / `rules` files
1. push all the things!
61 changes: 0 additions & 61 deletions nightly-pull-upstream

This file was deleted.

70 changes: 0 additions & 70 deletions nightly-update-branch

This file was deleted.

81 changes: 0 additions & 81 deletions refresh-patches

This file was deleted.

Loading

0 comments on commit 00c7b86

Please sign in to comment.