- Download a source archive of Thunderbird from https://archive.mozilla.org/pub/thunderbird/. Normally the URL is https://archive.mozilla.org/pub/thunderbird/releases/$VER/source/thunderbird-$VER.source.tar.xz, replacing "$VER" with the version to be imported, like
128.0.1esr
. - Switch to the
tarball
branch (git checkout tarball
), then remove all files and directories in the working tree, including the hidden one, except the.git
directory. - Extract all files from the archive, then move all files and directories, including the hidden one, from the
thunderbird-$VER
directory to the working tree (usually achieved withtar --strip-component=1 -pxvf thunderbird-$VER.source.tar.xz
). - Recursively remove
.gitattributes
files,.gitignore
files,.gitmodules
files and.git
directories except the one in the top-level (find . \( -name .gitattributes -o -name .gitignore -o -name .gitmodules \) -delete; find . -name .git
, note that.git
directories have to be manually removed). - Update the index using all files in the entire working tree (
git add -A
), then create a new commit with message of "chore: import v$VER" (git commit -m "chore: import v$VER"
). - Create a lightweight tag with name of "v$VER" (
git tag "v$VER"
). - Push the
tarball
branch and the tag just created to the remote (git push; git push --tags
). - Create a new branch with name of "aosc/v$VER", pointing to the current
HEAD
, then switch to it (git checkout -b "aosc/v$VER"
). - Apply all needed commits and/or patches.
- Create a lightweight tag with name of "aosc/v$PKGEPOCH%$PKGVER-$PKGREL" (
git tag "aosc/v$PKGEPOCH%$PKGVER-$PKGREL"
). If any of these variables equals zero, omit the related section and the corresponding separator. For the definition of these variables, refer to autobuild4. - Push the
aosc/v$VER
branch and the tag just created to the remote (git -c "push.autoSetupRemote=true" push; git push --tags
). - Prepare patches for the ABBS tree (
git format-patch "tags/v$VER..tags/aosc/v$PKGEPOCH%$PKGVER-$PKGREL"
).
-
Notifications
You must be signed in to change notification settings - Fork 0
AOSC-Tracking/thunderbird
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tracking repository for Thunderbird (tarball imports)