Commit graph

84 commits

Author SHA1 Message Date
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
emacspace c483818d7e documentation formatting: Sun Nov 22 08:56:33 UTC 2020 2020-11-24 22:22:17 +01:00
Maximilian Wolff 2298d8c141
Move remaining forge functions from github to git layer 2020-11-16 23:36:59 +01:00
Fabián Heredia Montiel b2cb7017e0
Move forge form github to git layer
Supports:
- Github (Both .com and enterprise on premises)
- Gitlab (Both .com and self-hosting)
- gogs / gitea
2020-11-16 23:36:59 +01:00
Maximilian Wolff 9c564b864f
[github] Make docs use pip instead of pip3
I have also added a note for users with distributions
still being on python2.
2020-11-14 09:28:46 +00:00
Daniel Nicolai 6c15706edf Add grip-mode to github layer 2020-11-14 09:47:36 +01:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
emacspace 3747afb4b0 documentation formatting: Fri Aug 23 17:22:19 UTC 2019 2019-08-24 00:03:42 +02:00
syl20bnr 015414ae8c [Github] Do not install forge pacakge on Windows by default 2019-08-21 22:29:21 -04:00
Hong Xu 8485e69fa9 Remove documents for magithub in the github layer, as it has already been removed. 2019-07-11 18:08:00 +02:00
JAremko 6c12121cec fix links 2019-07-08 23:56:07 +03:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
emacspace 202da65b1c documentation formatting: Sun Apr 21 20:04:25 UTC 2019 2019-04-22 23:16:20 +02:00
yuhan0 57e47f6210 Update documentation
Also fixes the documentation of the Commit message editing section which had a mistakenly added table
2019-04-21 21:55:52 +02:00
yuhan0 c3e9980d09 Add leader key bindings to Forge topic and post modes 2019-04-21 21:55:52 +02:00
syl20bnr b28f1a2aba github: add function to get repo for a forge notification error 2019-03-31 12:16:43 -04:00
syl20bnr 79279f434b Disable magithub, please move it to your private layer is used 2019-02-18 12:55:22 -05:00
Robert O'Connor 0b5ae3ccbf Remove magit-gh-pulls as magithub is so much better! 2019-01-20 22:33:59 +02:00
emacspace f2c17ba15f documentation formatting: Thu Jan 17 14:07:30 UTC 2019 2019-01-17 16:56:39 +02:00
Miciah Masters 01e2db9c42 github: Update forge key bindings
Update the documentation for forge per upstream changes to key bindings in
evil-magit[1].

[1] 49978d07d3

* layers/+source-control/github/README.org: Update key bindings for forge.
2019-01-17 08:48:27 -05:00
emacspace 7353d5670f documentation formatting: Mon Jan 14 23:15:53 UTC 2019 2019-01-14 23:19:02 +00:00
Miciah Masters 07aa9b01ed github: Add forge
Note that Forge binds the ' key to the Forge dispatch popup, but evil-magit
binds the ' key to the submodule dispatch popup (see
https://github.com/emacs-evil/evil-magit/issues/54), and evil-magit's key
binding takes precedence with the vim editing style.  Because Forge's key
binding does not always work, it is omitted from the README.

Note also that Magit binds the % key to its worktree dispatch popup, but
Spacemacs binds the % key to the magit-gitflow popup, and Spacemacs's key
binding takes precedence.  Because there is no available key binding for
the worktree dispatch popup, Forge's key binding under that dispatch popup
is omitted from the README.

* CHANGELOG.develop:
* layers/+source-control/github/README.org: Update.
* layers/+source-control/github/packages.el (github-packages): Add forge.
(github/init-forge): Load forge after magit. Configure forge to use
spacemacs-cache-directory.
(github/init-magithub): Disabling injecting issues and pull-requests
sections if forge is installed.
2019-01-15 00:48:48 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
emacspace 901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Miciah Masters 4408788799 github: Disable status, issues, and PRs by default
Try again to fix issue #11176.

* layers/+source-control/github/packages.el (github/init-magithub): Disable
the GitHub project status, pull requests, and issues sections by default.
* layers/+source-control/github/README.org: Document that these sections
are all disabled by default, and how to enable them.
2018-08-18 15:06:26 -04:00
Miciah Masters 6659088dc5 github: Make Magithub offline by default
Fix issue #11176.

* layers/+source-control/github/packages.el (github/init-magithub):
Configure Magithub to be offline by default.
* layers/+source-control/github/README.org: Add documentation about
Magithub's offline mode.
2018-08-18 13:22:37 +01:00
Miciah Masters 2148562982 Fix loading of Magithub
Fix issue #10760: Magithub sections are not added to Magit.

The problem is that the Spacemacs init function's use-package form for
Magithub specifies both :after magit and :defer t. It should specify only
the former so that Magithub will be loaded when Magit is loaded.

* layers/+source-control/github/packages.el (github/init-magithub): Delete
:defer argument.
2018-08-01 23:03:19 -04:00
Aaron Jensen 40530100d6 Reenable magithub
Ghub and therefore magithub now support creating tokens automatically:

https://github.com/vermiculus/magithub/blob/master/magithub.org#authentication
https://magit.vc/manual/ghub/Interactively-Creating-and-Storing-a-Token.html#Interactively-Creating-and-Storing-a-Token
2018-05-10 23:05:14 +03:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr 41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
Diego Berrocal 266322349e Move the key definition to the config hook of gh-pulls 2018-01-09 01:28:54 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr 7540c07c9d github: replace evilified-state-evilify by evilified-state-evilify-map 2017-10-15 11:08:01 -04:00
Jean-Sebastien A. Beaudry 71e3f1504c Add g r evilified binding to gist-list-mode 2017-10-15 11:08:01 -04:00
syl20bnr 655eec4ca4 Disable magithub temporarily
Magithub is a project under developement which took another direction, let's
wait for it to mature before adding it again to the GitHub layer.

To use it before it has been re-activated, add it to your dotfile in
dotspacemacs-additional-packages.
2017-08-27 11:51:02 -04:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Eivind Fonn 9c6216b024 Move magithub cache to cache directory 2017-05-18 18:07:50 +02:00
Sid Kapur 5ebcbfe6f6 Add info about SSH key to github layer README 2017-05-14 22:01:44 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
syl20bnr 2cbc1a6a6e github: make it depend on version-control layer 2017-03-31 00:52:26 -04:00
syl20bnr 7ba2e3ac4b github: remove github-browse-file
Replaced by browse-at-remote in version-control layer.
2017-03-31 00:52:16 -04:00
JAremko c277c9716b add browse-at-remote 2017-03-30 22:15:23 -04:00
syl20bnr aaf2f7d535 github: move load-gh-pulls-mode to funcs.el 2017-02-09 18:00:32 -05:00
syl20bnr b53a8957a1 github: add magithub
to opt-out simply add magithub to the dotspacemacs-excluded-packages variable
2017-02-06 22:48:38 -05:00