Mykola Nikishov
63be589c1d
Delegate install and update actions for github to git
...
github method, as a derived method, should build a final repository URL
and let parent's respective methods do the actual work.
Register new 'el-get-github-pull function as update method.
Make both methods, 'el-get-github-pull and 'el-get-github-clone,
implement the same pattern:
- Delegate check if URL is a secure one to the parent method
- Ignore :url from package's recipe passed by 'el-get-do-update as it
makes no sense
- Unconditionally build package repository URL with 'el-get-github-url
- Call respective git method
2016-09-19 08:42:04 +03:00
Phil Hagelberg
e3203d6858
Fix a bug where el-get-github-clone used the wrong URL.
2014-08-27 13:59:49 -07:00
Phil Hagelberg
acdcb6e5b2
Don't install insecurely without el-get-allow-insecure.
...
In most cases, we assume any connection is insecure unless the URL
starts with "https://", "$USERNAME@", or "ssh". There are a few
exceptions: I'm assuming all Emacswiki packages are insecure, and I
don't think we can know whether packages installed via Google Go are
secure or not.
2014-08-12 11:42:08 -07:00
Dimitri Fontaine
b3277804d2
Merge pull request #1064 from artagnon/master
...
methods/el-get-github: change the default url type to https
2014-06-03 16:41:23 +02:00
Ryan C. Thompson
fdaaf51570
Cleanup indentation with custom indent rules
2014-03-01 16:19:46 -08:00
Ryan C. Thompson
cf34f9aa0a
Clean up whitespace
...
This commit is the result of running cleanup-whitespace.sh.
Fixes #549 .
2014-02-21 10:52:48 -08:00
Victor Deryagin
0a202ea35d
changed mentions of 'README.asciidoc' to 'README.md' in source files
2013-04-01 15:46:34 +03:00
Ramkumar Ramachandra
446ac5d566
methods/el-get-github: change the default url type to https
...
All git repositories should be fetched over HTTPS by default, to allow
authenticated pushes to the user's own repositories.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-02-10 17:30:51 +05:30
Damien Cassou
e6418c22e0
Issue #857 : add error message for absent :pkgname
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-09-02 09:39:49 +02:00
Damien Cassou
15d3f8e490
Issue #857 : simplify el-get-github-parse-user-and-repo
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-09-02 09:22:56 +02:00
Damien Cassou
d3c37f1829
Issue #857 : ignore :url specification for github recipe
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-09-01 09:35:46 +02:00
Damien Cassou
f21ca1645a
Issue #857 : moving `el-get-github-url-private' around
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-08-31 11:18:13 +02:00
Damien Cassou
9e36f0eaf3
Issue #857 : enhance `el-get-github-url-format' and simplify users
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-08-31 11:14:48 +02:00
Damien Cassou
d7cb8657e7
Issue #857 : remove useless `el-get-guess-github-website'
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-08-31 10:47:37 +02:00
Damien Cassou
74979d1ea9
Issue #857 : remove custom format for `el-get-github-default-url-type'
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-08-31 10:47:37 +02:00
Damien Cassou
fa55807644
Issue #857 : use format' to simplify
el-get-github-guess-website'
...
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
2012-08-31 10:47:07 +02:00
Ryan C. Thompson
9b350be579
Add website guessers to some methods
2012-02-28 17:58:44 -08:00
Ryan C. Thompson
98009d26a1
Refactor github user/repo parsing into separate function
2012-02-21 15:03:03 -08:00
Ryan C. Thompson
2c55507083
Remove harmful use of "el-get-as-string"
...
It would convert nil to "nil", preventing error detection.
2012-02-21 15:03:03 -08:00
Ryan C. Thompson
48af5bf1e9
Support "user/repo" for pkgname in github recipes
2012-02-21 15:02:26 -08:00
Ryan C. Thompson
92b41a458f
Allow custom format string for "el-get-github-default-url-type"
2012-02-21 15:02:26 -08:00
Ryan C. Thompson
61fcc202c4
Update github method declaration to use keyword args
2012-02-21 15:02:26 -08:00
Ryan C. Thompson
cf938d2800
Fixes for github method
...
Use the standard ":pkgname" instead of ":reponame"
2012-02-21 15:02:25 -08:00
Ryan C. Thompson
98c5aa8be6
Add github method
2012-02-21 15:02:25 -08:00