emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] master 8357777: * README.org: Describe how to build the archive


From: Stefan Monnier
Subject: [nongnu] master 8357777: * README.org: Describe how to build the archive and add a package
Date: Tue, 24 Nov 2020 17:15:41 -0500 (EST)

branch: master
commit 835777760dc101d63b1e7722e9526b7ec482f866
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * README.org: Describe how to build the archive and add a package
---
 README.org | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/README.org b/README.org
index 02d2f72..38481f9 100644
--- a/README.org
+++ b/README.org
@@ -1,3 +1,28 @@
+* Building the archive
+
+To build the archive(s), all it takes is:
+
+    git clone .../nongnu.git
+
+which you presumably have done already if you're reading this file.
+And then
+
+    cd .../nongnu
+    make build-all
+
+This will build all the tarballs as well as the `archive-contents` file and
+put them into the `archive` and `archive-devel` subdirectories.
+If the archive exists already, it will only build those tarballs that are new.
+
+You can also (re)build a specific package [PKG] with:
+
+    make build/[PKG]
+
+If you want to force a rebuild of a tarball that was already built, you have
+to do:
+
+    rm archive/[PKG]-[VERSION].tar; make build/[PKG]
+
 * Guidance for accepting packages
 
 ** We don't ask for copyright assignments to include packages in NonGNU ELPA.
@@ -111,3 +136,27 @@
    the package, and you can mention fan items that you sell directly to
    the users.
 
+
+
+* Adding a package
+
+Once it is decided we want to add a [PKG], here's what it takes:
+
+- Fetch the upstream code with something like:
+
+      git fetch [PKGREMOTE]
+
+  Let's say the code is now in [PKGBRANCH].
+
+- Push that code to nongnu.git:
+
+      git push nongnu [PKGBRANCH]:refs/heads/externals/[PKG]
+
+- Add a corresponding entry to the file `externals-list`.
+
+- Make sure the resulting tarball looks good and works well.
+
+- Commit and push that change:
+
+      git commit -m 'New package [PKG]'
+      git push



reply via email to

[Prev in Thread] Current Thread [Next in Thread]