[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
- [Emacs-diffs] feature/core-elpa-by-copy 084a0c4 01/13: Initial notes (to be removed!), (continued)
- [Emacs-diffs] feature/core-elpa-by-copy 084a0c4 01/13: Initial notes (to be removed!), Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy e2cf6b1 05/13: Top level make file plumbing, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy 4f0ca28 03/13: Build process started, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy bf7519e 12/13: And dependencies all working, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy 05e20b8 13/13: Fix dependency between packages and ELPA checkout, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy e26f1ab 06/13: Fix concurrent build, add some more, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy fd618c5 08/13: Working --enable-elpa with conditional build, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy b3dad07 07/13: Semi working attempt to get configure to work, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy 69f8ceb 10/13: Working Configurable checkout for elpa, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy e557b18 11/13: Depedency mostly working, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy 2cfe571 02/13: Extraction of code working,
Phillip Lord <=
- [Emacs-diffs] feature/core-elpa-by-copy a5f5801 04/13: Probably working but untested version, Phillip Lord, 2019/01/26
- [Emacs-diffs] feature/core-elpa-by-copy 9594e37 09/13: Configurable location for git checkout, Phillip Lord, 2019/01/26