emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] feature/core-elpa-by-copy 2cfe571 02/13: Extraction of cod


From: Phillip Lord
Subject: [Emacs-diffs] feature/core-elpa-by-copy 2cfe571 02/13: Extraction of code working
Date: Sat, 26 Jan 2019 05:29:35 -0500 (EST)

branch: feature/core-elpa-by-copy
commit 2cfe57129519a399f56c114a2e1dfd537e76cd0b
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Extraction of code working
---
 .gitignore            |  6 +++++-
 configure.ac          |  2 +-
 elpa/Makefile.in      | 25 +++++++++++++++++++++++++
 elpa/package-makefile |  2 ++
 notes.org             | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 84 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 53f41f0..b2ad1f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -148,6 +148,10 @@ test/manual/etags/ETAGS
 test/manual/etags/CTAGS
 test/manual/indent/*.new
 
+# ELPA
+/elpa/elpa-git/
+/elpa/packages/
+
 # ctags, etags.
 TAGS
 !admin/notes/tags
@@ -284,4 +288,4 @@ lib/SYS/
 nt/emacs.rc
 nt/emacsclient.rc
 src/gdb.ini
-/var/
+/var/
\ No newline at end of file
diff --git a/configure.ac b/configure.ac
index 7529719..4719a73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5679,7 +5679,7 @@ dnl config.status treats $srcdir specially, so I think 
this is ok...
 AC_CONFIG_FILES([$srcdir/doc/man/emacs.1])
 
 m4_define([subdir_makefiles],
-  [lib/Makefile lib-src/Makefile oldXMenu/Makefile doc/emacs/Makefile 
doc/misc/Makefile doc/lispintro/Makefile doc/lispref/Makefile src/Makefile 
lwlib/Makefile lisp/Makefile leim/Makefile nextstep/Makefile nt/Makefile])
+  [lib/Makefile lib-src/Makefile oldXMenu/Makefile doc/emacs/Makefile 
doc/misc/Makefile doc/lispintro/Makefile doc/lispref/Makefile src/Makefile 
lwlib/Makefile lisp/Makefile leim/Makefile nextstep/Makefile nt/Makefile 
elpa/Makefile])
 SUBDIR_MAKEFILES="subdir_makefiles"
 AC_CONFIG_FILES(subdir_makefiles)
 
diff --git a/elpa/Makefile.in b/elpa/Makefile.in
new file mode 100644
index 0000000..ab73bbc
--- /dev/null
+++ b/elpa/Makefile.in
@@ -0,0 +1,25 @@
+
+all: packages/d28cf8632d2691dc93afbb28500126242d37961c-pabbrev
+
+
+elpa-git:
+       git clone --mirror https://git.savannah.gnu.org/git/emacs/elpa.git 
elpa-git
+
+elpa-update: elpa-git
+       cd elpa-git;git fetch --all
+.PHONY: elpa-update
+
+packages:
+       mkdir packages
+
+packages/d28cf8632d2691dc93afbb28500126242d37961c-pabbrev: elpa-update packages
+       # Remove all version
+       rm -rf packages/*pabbrev
+       mkdir packages/d28cf8632d2691dc93afbb28500126242d37961c-pabbrev
+       cd elpa-git;\
+       git archive d28cf8632d2691dc93afbb28500126242d37961c \
+       | tar xv -C ../packages/d28cf8632d2691dc93afbb28500126242d37961c-pabbrev
+
+
+clean:
+       rm -rf packages
diff --git a/elpa/package-makefile b/elpa/package-makefile
new file mode 100644
index 0000000..be1a0c7
--- /dev/null
+++ b/elpa/package-makefile
@@ -0,0 +1,2 @@
+all:
+       echo hello world
diff --git a/notes.org b/notes.org
index f9f676a..259299d 100644
--- a/notes.org
+++ b/notes.org
@@ -6,11 +6,62 @@ Guess we have to use sh
 
 2) How to get specific directory of a repository
 
+
+
+git archive address@hidden:/srv/git/emacs/elpa.git master packages/hydra | tar 
xv --strip-components=1
+
+Currently, this requires a member login -- it doesn't work with http
+or the current git server.
+
+Would also be possible to configure this from local.
+
 3) How to work out when a directory is out of date wrt to the make
    file
 
+unpack the directory with the commit
+
+SHAID-hydra
+
+Then when the SHA is updated to point somewhere else, magically, the
+directory will run out of space
+
+
+
 4) Heuristics for working out which files to copy to right place
 
+*-test.el
+*-tests.el
+/test/*.el
+
+to test
+
+All other *el to lisp
+
+Nothing else
+
 5) Work out what is the right place to copy to
 
+lisp/elpa/package-name
+test/lisp/elpa/package-name
+
+is my prefered option. Eli may complain in which case "package-name"
+can be dropped.
+
+
 6) How to enable ELPA packages to customize the process
+
+Add the option to run an core-deploy.sh file placed into the root of a
+package.
+
+
+7) What about make bootstrap
+
+I think we would add another command called make clean-elpa which
+would delete the elpa extracted files. I'd have to think very
+carefully about which clean things I wanted to attach to. a priori
+there is no reason to ever check the files out more than once.
+
+
+8) Support other repos
+
+Org-mode effectively does this already



reply via email to

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