For updating Firefox. Downloads tar-balls, checks locales, packages all.
- Have create-tar.sh in your
$PATH
(or call it directly, if you don't mind the typing) - Run create-tar.sh without argument to show help-output
- Copy example tar_stamps from help-output
- Go into an empty directory, create tar_stamps and adjust to your needs
- Run
create-tar.sh tar_stamps
- Copy resulting tar-balls to your repo
Queries official release notes and MFSA (Mozilla Foundation Security Advisory) and parses them into the changelog format.
- Clone or update https://github.com/mozilla/release-notes
- Clone or update https://github.com/thundernest/thunderbird-notes
- Clone or update https://github.com/mozilla/foundation-security-advisories
- Search for the correct release notes file
- Search which yaml-file(s) is relevant in the release notes
- Search SUSE bugzilla-ID for updating Firefox with security vulns.
releasenotes.py release-notes/releases/firefox-<VERSION> foundation-security-advisories/announce/<YEAR>/mfsa<whichever you need>.yml <bugzilla ID>
Note: All files can be passed individually as well. Or you can parse multiple releases in one go. Files are parsed in the order they are given in the commandline.
Program to sync an OBS repo with the github-repo
This will delete all *.patch
-files in the github-repo and copy over the new ones (in order to notice deleted patches).
It will also copy all relevant Firefox-files to github-repo/Firefox/ (excluding tarballs, scripts and the like)
- Put or better yet link sync_ff in a directory in your $PATH
- Go into your OBS-repo you want to sync
- Specify github-repo path (your local checkout)
- Either by giving it directly:
sync_ff /your/path/here
- By hardcoding it into
sync_ff
(DEFAULT_FF_SYNC_TARGET
) - By giving it via env-variable:
FF_SYNC_TARGET=/tmp sync_ff
- By giving it via env-variable from your
.bashrc
- Either by giving it directly:
Program to import all patchfiles into an hg-repo from a given rpm-spec file.
- Go to your hg repo
- run script with the associated spec-file
- Apply the patches in the patch-queue
If one wants to build FF or TB without OBS, one needs a mozconfig. This file is generated in the spec-file.
This script, utilizing the rpm build-option --with only_print_mozconfig
prints the mozconfig for a given
spec-file and suse-version.
- Find out which
%suse_version
you need (e.g. 1510) - Optional: Find out which arch you want (otherwise local arch is used, e.g. s390x)
- Optional: Find out additional rpmbuild-commands you may need/want
- Call
get_mozconfig_from_spec $SPECFILE $SUSE_VERSION [--target=$ARCH]
Script to chroot into an OBS chroot, doing additional preparation like mounting system directories and such.
See help-output