1.7 KiB
Working on
Have package checkout working for external Next get it working for non external so we can template
Then how to get the submakes working
To Fix
Think we are running git fetch –all on every package. Is there something more intelligent we can do here? Lookup VCS Witness elsewhere.
Notes
- Scripting?
Guess we have to use sh
- 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.
- 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
- 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
- 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.
- 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.
- 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.
- Support other repos
Org-mode effectively does this already