Skip to content

Commit a971073

Browse files
committed
Merge branch 'release/0.8.0'
2 parents 49ce63c + b5302b4 commit a971073

24 files changed

+272
-114
lines changed

.travis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
language: emacs-lisp
22
before_install:
3-
- curl -fsSkL https://gist.githubusercontent.com/rejeep/7736123/raw | sh
4-
- export PATH="/home/travis/.cask/bin:$PATH"
5-
- export PATH="/home/travis/.evm/bin:$PATH"
6-
- evm install $EVM_EMACS --use
7-
- cask
3+
- git clone https://github.com/rejeep/evm.git $HOME/.evm
4+
- export PATH=$HOME/.cask/bin:$HOME/.evm/bin:$PATH
5+
- evm config path /tmp
6+
- evm install $EVM_EMACS --use --skip
7+
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
88
env:
9-
- EVM_EMACS=emacs-24.1-bin
10-
- EVM_EMACS=emacs-24.2-bin
11-
- EVM_EMACS=emacs-24.4-bin
12-
- EVM_EMACS=emacs-24.5-bin
9+
- EVM_EMACS=emacs-25.3-travis
10+
- EVM_EMACS=emacs-26.3-travis-linux-xenial
11+
- EVM_EMACS=emacs-git-snapshot-travis-linux-xenial
1312
script:
1413
- emacs --version
1514
- make test
16-
notifications:
17-
webhooks: https://webhooks.gitter.im/e/fa0500ce49cab8dc8144
18-
on_success: change
19-
on_failure: always
20-
on_start: never

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

COPYING

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <http://www.gnu.org/licenses/>.
648+
along with this program. If not, see <https://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<http://www.gnu.org/licenses/>.
667+
<https://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
674+
<https://www.gnu.org/philosophy/why-not-lgpl.html>.

Cask

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
(package-file "drupal-mode.el")
22

3-
(source marmalade)
3+
(source melpa)

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is part of Drupal mode.
22

3-
# Copyright (C) 2012, 2013 Arne Jørgensen
3+
# Copyright (C) 2012, 2013, 2020 Arne Jørgensen
44

55
# Author: Arne Jørgensen <[email protected]>
66

@@ -15,7 +15,7 @@
1515
# General Public License for more details.
1616

1717
# You should have received a copy of the GNU General Public License
18-
# along with Drupal mode. If not, see <http://www.gnu.org/licenses/>.
18+
# along with Drupal mode. If not, see <https://www.gnu.org/licenses/>.
1919

2020
.PHONY: all test clean install
2121

@@ -42,9 +42,9 @@ README: README.md
4242
$(PANDOC) -t plain -o $@ $^
4343

4444
$(ARCHIVE_NAME)-pkg.el: $(ARCHIVE_NAME).el
45-
$(CASK) package
45+
$(CASK) pkg-file
4646

47-
# create a tar ball in package.el format for uploading to http://marmalade-repo.org
47+
# create a tar ball in package.el format
4848
$(PACKAGE_NAME).tar: README $(ARCHIVE_NAME).el $(ARCHIVE_NAME)-pkg.el $(ARCHIVE_NAME).info dir drupal/*.el drupal-tests.el drush-make-mode.el
4949
$(TAR) -c -s "@^@$(PACKAGE_NAME)/@" -f $(PACKAGE_NAME).tar $^
5050

README.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,29 +32,25 @@ below) and depend on a few through the packaging system
3232
## Installation
3333

3434
The easiest way to install Drupal mode is probably to install it via
35-
the ELPA archive at
36-
[Marmalade](http://marmalade-repo.org/packages/drupal-mode) or
37-
[MELPA Stable](http://stable.melpa.org/#/drupal-mode) (if you want
38-
bleeding edge use regular [MELPA](http://melpa.org/#/drupal-mode)).
39-
40-
ELPA (package.el) is part of Emacs 24. For Emacs 23 see
41-
[Marmalade](http://marmalade-repo.org) for installation instructions.
35+
the ELPA archive [MELPA
36+
Stable](https://stable.melpa.org/#/drupal-mode) (if you want bleeding
37+
edge use regular [MELPA](https://melpa.org/#/drupal-mode)).
4238

4339

4440
## Features of Drupal mode
4541

4642
### Drupal Coding Standards
4743

4844
Drupal mode will make you write code that adheres to
49-
[Drupals coding standards](http://drupal.org/coding-standards#indenting).
45+
[Drupals coding standards](https://www.drupal.org/coding-standards).
5046

5147
It does this by:
5248

5349

5450
#### Indentation
5551

5652
In php-mode code will be indented according to
57-
[Drupals coding standards](http://drupal.org/coding-standards#indenting). If not
53+
[Drupals coding standards](https://www.drupal.org/coding-standards). If not
5854
it is considered a bug!
5955

6056

@@ -91,10 +87,10 @@ menu entry.
9187

9288
Files that are part of a Drupal project will try to identify the used
9389
version of Drupal core and look up the documentation for the
94-
corresponding version at http://api.drupal.org.
90+
corresponding version at https://api.drupal.org.
9591

9692
If the symbol at point is believed to be a Drush command the
97-
documentation will be looked up at http://api.drush.org instead. If
93+
documentation will be looked up at https://api.drush.org instead. If
9894
Drush is installed it will identify the version of Drush and look up
9995
the documentation for the installed version of Drush.
10096

@@ -131,15 +127,15 @@ Etags is a built-in part of Emacs.
131127

132128
### GNU Globals / gtags
133129

134-
If you load [GNU Globals / gtags](http://www.gnu.org/software/global/)
130+
If you load [GNU Globals / gtags](https://www.gnu.org/software/global/)
135131
support in Emacs then Drupal mode will set `gtags-rootdir` to your
136132
DRUPAL_ROOT.
137133

138134

139135
### Drush utilities for Emacs users
140136

141137
If
142-
[Drush utilities for Emacs users](http://drupal.org/project/emacs_drush)
138+
[Drush utilities for Emacs users](https://www.drupal.org/project/emacs_drush)
143139
is installed Drupal mode will update existing tag files in your
144140
DRUPAL_ROOT after saving a buffer.
145141

@@ -148,11 +144,11 @@ DRUPAL_ROOT after saving a buffer.
148144

149145
If ispell.el is loaded in Emacs then Drupal mode will set the language
150146
of your Drupal mode buffers to `american` as stated in [Drupals coding
151-
standards](http://drupal.org/coding-standards).
147+
standards](https://www.drupal.org/coding-standards).
152148

153149
ispell.el is a built-in part of Emacs. An external program must be
154150
installed to run the actual spell checking,
155-
i.e. [ispell](http://www.gnu.org/software/ispell/),
151+
i.e. [ispell](https://www.gnu.org/software/ispell/),
156152
[aspell](http://aspell.net/), or
157153
[hunspell](http://hunspell.sourceforge.net/).
158154

@@ -162,14 +158,14 @@ i.e. [ispell](http://www.gnu.org/software/ispell/),
162158
If support for
163159
[flymake-phpcs.el](https://github.com/illusori/emacs-flymake-phpcs) is
164160
loaded in Emacs and you have installed
165-
[Drupal Code Sniffer](http://drupal.org/project/drupalcs) rules then
161+
[Drupal Code Sniffer](https://www.drupal.org/project/drupalcs) rules then
166162
Drupal mode will enable flymake-phpcs under php-mode.
167163

168164
For this to work you need:
169165

170-
* [PHP CodeSniffer](http://pear.php.net/package/PHP_CodeSniffer)
171-
* [flymake-phpcs.el](http://marmalade-repo.org/packages/flymake-phpcs)
172-
* [Drupal Code Sniffer](http://drupal.org/project/drupalcs) rules
166+
* [PHP CodeSniffer](https://pear.php.net/package/PHP_CodeSniffer)
167+
* [flymake-phpcs.el](https://melpa.org/#/flymake-phpcs)
168+
* [Drupal Code Sniffer](https://www.drupal.org/project/drupalcs) rules
173169

174170

175171
## Other takes on a Drupal mode
@@ -179,11 +175,11 @@ wild:
179175

180176
* [Search Github for drupal-mode](https://github.com/search?l=Emacs+Lisp&q=drupal&type=Repositories)
181177
* At drupal.org:
182-
* http://drupal.org/sandbox/bartlantz/1405156
183-
* http://drupal.org/project/emacs
178+
* https://www.drupal.org/sandbox/bartlantz/1405156
179+
* https://www.drupal.org/project/emacs
184180

185181
All of them more or less based on
186-
[Configuring Emacs](http://drupal.org/node/59868).
182+
[Configuring Emacs](https://www.drupal.org/node/59868).
187183

188184

189185
## Development of Drupal mode

SECURITY.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
All versions are supported.
6+
7+
## Reporting a Vulnerability
8+
9+
Security issues can be reported to [Arne Jørgensen](https://github.com/arnested)
10+
either by [mail](mailto:[email protected]) or any other channel you prefer and
11+
trust (see my [Keybase profile](https://keybase.io/arnested)).

0 commit comments

Comments
 (0)