Gitweb links:

...log 
http://git.netsurf-browser.org/toolchains.git/shortlog/b9d97b5c3f1e62c4511c063170c2304e04e3ab2c
...commit 
http://git.netsurf-browser.org/toolchains.git/commit/b9d97b5c3f1e62c4511c063170c2304e04e3ab2c
...tree 
http://git.netsurf-browser.org/toolchains.git/tree/b9d97b5c3f1e62c4511c063170c2304e04e3ab2c

The branch, jmb/gitsrc has been updated
       via  b9d97b5c3f1e62c4511c063170c2304e04e3ab2c (commit)
      from  5b2088860e716159ac424610d4581d15732a8002 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/toolchains.git/commit/?id=b9d97b5c3f1e62c4511c063170c2304e04e3ab2c
commit b9d97b5c3f1e62c4511c063170c2304e04e3ab2c
Author: John-Mark Bell <[email protected]>
Commit: John-Mark Bell <[email protected]>

    Update README some more

diff --git a/README b/README
index c8746a9fb6..14cf67dc06 100644
--- a/README
+++ b/README
@@ -79,3 +79,36 @@ directory is found in the source archive it will be renamed 
to
 
 As for "import-orig", "repack" can be confused by ambiguous names so take
 care to ensure that the resulting repacked sources look sane before use.
+
+
+Updates
+-------
+
+Each of the Makefiles has a "source-archives" target which fetches the
+original sources from wherever they live upstream and, where appropriate,
+repack them into a tarball.  Thus, updating components will generally
+involve the following steps:
+
+  0. Ensure all upstream/* and pristine-tar branches are checked out locally
+     and have no changes
+  1. Bump the version numbers of the components in the Makefile
+  2. Run "make source-archives" to download them all (noting that bitrot
+     is inevitable as URLs are not stable, so fixes to the download rules
+     may also be required)
+  3. Manually verify the authenticity of the archives (i.e. check against
+     published checksums, or validate GPG signatures)
+  4. Manually verify that repacked source archives are sane
+  5. Use "import-orig" to import each of the updated components to git
+  6. Update any local patches/additions (c.f. recipes/*)
+  7. Build the updated sources in the usual way
+
+Steps 6 & 7 likely repeat multiple times until done.
+
+Step 3 might be possible to (semi-)automate if checksum/signature files
+are published in a deterministic manner by the original source.  However,
+this is very much not the case for many sources.
+
+Once complete, ensure all local changes are committed to git and that
+everything (i.e. tags, upstream/* branches, pristine-tar branch, and
+the working branch containing this document) is pushed -- failure to
+do so makes it impossible to reproduce builds later.


-----------------------------------------------------------------------

Summary of changes:
 README | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/README b/README
index c8746a9fb6..14cf67dc06 100644
--- a/README
+++ b/README
@@ -79,3 +79,36 @@ directory is found in the source archive it will be renamed 
to
 
 As for "import-orig", "repack" can be confused by ambiguous names so take
 care to ensure that the resulting repacked sources look sane before use.
+
+
+Updates
+-------
+
+Each of the Makefiles has a "source-archives" target which fetches the
+original sources from wherever they live upstream and, where appropriate,
+repack them into a tarball.  Thus, updating components will generally
+involve the following steps:
+
+  0. Ensure all upstream/* and pristine-tar branches are checked out locally
+     and have no changes
+  1. Bump the version numbers of the components in the Makefile
+  2. Run "make source-archives" to download them all (noting that bitrot
+     is inevitable as URLs are not stable, so fixes to the download rules
+     may also be required)
+  3. Manually verify the authenticity of the archives (i.e. check against
+     published checksums, or validate GPG signatures)
+  4. Manually verify that repacked source archives are sane
+  5. Use "import-orig" to import each of the updated components to git
+  6. Update any local patches/additions (c.f. recipes/*)
+  7. Build the updated sources in the usual way
+
+Steps 6 & 7 likely repeat multiple times until done.
+
+Step 3 might be possible to (semi-)automate if checksum/signature files
+are published in a deterministic manner by the original source.  However,
+this is very much not the case for many sources.
+
+Once complete, ensure all local changes are committed to git and that
+everything (i.e. tags, upstream/* branches, pristine-tar branch, and
+the working branch containing this document) is pushed -- failure to
+do so makes it impossible to reproduce builds later.


-- 
Cross-compilation toolchains and environments

Reply via email to