]> git.eshelyaron.com Git - emacs.git/commitdiff
Extraction of code working
authorPhillip Lord <phillip.lord@russet.org.uk>
Sat, 19 Jan 2019 16:52:32 +0000 (16:52 +0000)
committerPhillip Lord <phillip.lord@russet.org.uk>
Sat, 19 Jan 2019 16:52:32 +0000 (16:52 +0000)
.gitignore
configure.ac
elpa/Makefile.in [new file with mode: 0644]
elpa/package-makefile [new file with mode: 0644]
notes.org

index 53f41f0f3ebb7e8a2a1ff1c1f7cd93b514852d17..b2ad1f9a4dc19b2093b35b0c665f4a3cb95e9473 100644 (file)
@@ -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
index 752971942996354b6db8448b265ecaa4d61e748d..4719a7332f562ae144670676be0b8106aee93f88 100644 (file)
@@ -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 (file)
index 0000000..ab73bbc
--- /dev/null
@@ -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 (file)
index 0000000..be1a0c7
--- /dev/null
@@ -0,0 +1,2 @@
+all:
+       echo hello world
index f9f676a354567ee9caf796ff62197a91582d34b7..259299d48ed8f48e6bbcb615e67457788b69911c 100644 (file)
--- 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 --remote=phillord@git.savannah.gnu.org:/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