Commit graph

102 commits

Author SHA1 Message Date
Jonathan Wren
e116a95e34
Change PR steps for brew release
The hub cli tool wasn't working anymore, so we took it out.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-03-27 12:32:31 -07:00
Jonathan Wren
7bacf4a5f0
Changelog generator fixes
There were several problems that this fixes:
- shallow fetch broke merging to release branch
- bad changelog was only outputting error msg (not exiting)
- latest version being on first line deleted itself and broke the
  changelog updates

This also has manual fixes to the changelog to bring it up to date.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-03-13 13:22:16 -08:00
Micah Jerome Ellison
df151d4dbc Add --local flag in git config calls 2021-03-06 14:05:48 -08:00
Micah Jerome Ellison
6639546413 Remove global flag from git config 2021-03-06 14:01:03 -08:00
Micah Jerome Ellison
06e5b4baf6
Fix broken brew release process (#1211)
* Add homebrew symlink for releases
* Fix indentation problem
* Fix bad env var name
* Change filename to formula name
* Fix formula name
* Attempt tap instead of symlink
* Fix formula repo referece
* add tracer
* Attempt working directory fix
* Remove --unshallow
* Use token for remote
* Move set tap directory step
* Remove tracer
* Clean up spacing and wrap quotes to tap directory
2021-03-06 13:47:11 -08:00
Micah Jerome Ellison
dc776b171a
Fix case on documentation tag in issue template 2021-02-06 14:10:21 -08:00
Jonathan Wren
f80f033d5d
fix typos 2021-01-17 11:22:02 -08:00
Jonathan Wren
c06b5cf297
Fix homebrew release, add options for relase pipeline (#1154) 2021-01-16 17:40:09 -08:00
Jonathan Wren
f041402533
Add packaging label to included sections in changelog (#1140) 2021-01-02 14:53:54 -08:00
Jonathan Wren
d4ca29ed2c
Fix broken search bar in docs site (#1135)
* Fixes for search on docs site

We previously didn't include the search results page in our CI testing,
so we missed some issues on that page. This ensures that page is part of
regular testing, and also includes fixes for the issues present.

* fix sidebar contrast
2021-01-02 12:24:21 -08:00
Jonathan Wren
f8513d3859
Add packaging label to changelog generator config (#1132)
We added dependabot and told it to use a new packaging label. This
change gives that label its own separate section in the changelog.
2020-12-26 13:08:39 -08:00
dependabot-preview[bot]
8b70497802
Create Dependabot config file (#1131)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-26 11:59:53 -08:00
Jonathan Wren
37c5b0eb11
Fixes to changelog generator (#1127)
* Fix version header detection in changelog

This updates the regex to find the version header in our changelog.
There was a bug that affected patch, alpha, and beta versions. For
example, if we were looking for "v2.5" we might find "v2.5.1" or
"v2.5.1-alpha" or other versions like that.

This led to the changelog not being cleared properly on update, and old
versions sticking around longer than they should.

* re-add option to include author link for merged PRs in changelog

This option was accidentally left out when migrating the changelog
generator tool to github actions.

* fix conditional in changelog workflow

In github actions, booleans always end up as strings. So, it's not
enough to test `env.FULL_RELEASE` because both 'true' and 'false' will
evaluate as true. This fixes the conditional to check for the string
value 'true' instead of relying on a boolean.
2020-12-26 10:58:23 -08:00
Jonathan Wren
e1cbce8a08
add more debug data to changelog workflow, update changelog 2020-12-19 22:28:26 -08:00
Jonathan Wren
68cf2d773d
do additional check for json data, and retry for 5-ish minutes on failure (#1125) 2020-12-19 22:28:25 -08:00
Jonathan Wren
2e9e857b7b
standardize version regex in release pipeline (#1124) 2020-12-19 22:28:24 -08:00
Micah Jerome Ellison
9fe56b9e10
Comply with GPL by acknowledging all authors and including license info in each source file (#1121)
* Update authors to "jrnl contributors" to comply with GPL3
* Include jrnl email address with contributors
* Include GPL notice in jrnl --version
* Apply consistent copyright and license to all Python files
* Add copyright and license to documentation
* Add copyright and license to docs theme
* Wiping poetry cache to try to resolve a test issue
* Testing with Python 3.9.0 in attempt to bypass GitHub Actions failure in 3.9.1
* make format
* Exclude Windows Python 3.9 build which is failing due to a GitHub Actions problem
* Modify testing to get around this 3.9 issue...
* Fix exclude
2020-12-19 22:28:22 -08:00
Jonathan Wren
4adbe5e29a
Add automatic deployment for homebrew releases (and prereleases) (#1111)
This new job will submit a PR to the relevant upstream repo as part of
the release workflow.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2020-12-19 12:31:15 -08:00
Jonathan Wren
243ccd9e37
Fix trigger for changelog (#1114)
The changelog was triggering after each branch create on a repo. That
doesn't happen often on the main repo, but does happen often on
contributor forks. This should stop the rampant GH actions.
2020-12-19 12:04:11 -08:00
Jonathan Wren
12e39ffd61
Change approach for docs workflow to use pa11y-ci (#1116)
The previous plugin looked nice with the comments and annotations, but
apparently doesn't work for PRs. It can only run on the pr target (our
branch), which means that the tests are never actually run against the
new code.

As you can guess, this is pretty useless for PRs. So, this PR fixes
that, and uses the very nice pa11y-ci (instead of the normal pa11y).
While it doesn't upload annotations, the output is very readable and
seems like the best we're going to get.
2020-12-19 12:00:59 -08:00
Jonathan Wren
eddf37a1b5
Fix readme links (#1109)
* fix links to docs now that we use readthedocs

* fix badge links in readme
2020-12-12 12:41:49 -08:00
Jonathan Wren
558d331d66
Make docs site (jrnl.sh) fully meet Web Content Accessibility Guidelines (WCAG) 2.1 (#1105)
* add some attribtutes to docs template for accessbility

* fix colors to meet accessibility guidelines (4.5 contrast ratio for text)

* Fix last remaining pa11y error (no button on search form)

This fix required moving the mkdocs theme out of the docs directory.
It's no in the docs_theme directory, and the mkdocs config is updated
accordingly.

* Re-enable accessibility testing for docs sit

Also, move the pa11y script into the gh actions workflow

* clean up linting issues in css

* fix and standardize link colors across site

* fix twitter button opacity making text fail contrast requirements

* move buttons on docs site index nav, tweak font weights

* fix footer opacity, tweak spacing of the now more visible sections of the page

* change font sizes on index page to meet WCAG

* udpate font sizes site-wide for accessibility

* fix sidebar for accessibility (font sizes and color contrasts)

* restyle code blocks to have dark background, and meet accessibility requirements

* standardize (accessible) colors across docs site
2020-12-12 12:05:12 -08:00
Micah Jerome Ellison
42c222a6c8
Update bug_report.md
Fix commented out text appearing in comments
2020-12-12 11:54:20 -08:00
Jonathan Wren
c3a8453e94
remove http-basic config for poetry (shouldn't be used anymore) 2020-11-28 14:40:54 -08:00
Jonathan Wren
45f051f51a
Add fix for changelog conditional always returning false (#1101) 2020-11-28 13:21:16 -08:00
Jonathan Wren
4cad215560
Add a release workflow for PyPI in CI (Github Actions) (#1095)
* Fixes for new CI pipeline (Github Actions)

- Support ci skip tag on commits to avoid build dupes
- Add smarter path detection so we don't spam tons of tests
- Allow steps to cancel if previous steps were cancelled (don't always
  run)
- Separate workflows to be more modular
- Update release workflow to do a few more things
- Add helpful messages
- Be more strict in version checking (now with added regex)
- Make changelog smarter about when to trigger
- Add some functionality for changelog to handle releases and
  prereleases separately
- Better error handling
- Split up the version validation and the release to make way for more
  releases

* add step in workflow to merge to release branch after a release

* add check for git diff so commit doesn't error out constantly
2020-11-28 11:50:13 -08:00
Jonathan Wren
6da3b6dc01
stop changelog update from triggering subsequent ci builds 2020-11-21 16:04:26 -08:00
Jonathan Wren
f07774e351
update changelog generator setting to include PRs, and use bot's token 2020-11-21 15:51:10 -08:00
Jonathan Wren
d68b9e1ca1
More changelog fixes (#1092)
* add bot token since gh actions doesn't allow pushing to protected branch
* add a max for issues, since we keep getting rate limited
* add jrnl bot username to commit step
* change token for git repo
2020-11-21 15:11:58 -08:00
Jonathan Wren
142e6f597e
Changelog fixes (#1088)
* typo fix

* clean up changelog to match version tags
2020-11-21 11:47:30 -08:00
Jonathan Wren
e23c4b78b5
Add changelog generation workflow to github actions (#1086)
* Add changelog workflow to github actions, remove old script

This basically takes the exact script, and turns it into a workflow. The
only difference is that the new workflow doesn't detect a release build
like the script did (releases will be a separate workflow).

* remove old config file for changelog generator (it's in workflow now)

* whitespace change

* remove ableist language
2020-11-21 11:21:19 -08:00
Jonathan Wren
4d97110183
Add initial config for Github Actions (#1078)
* Add initial config to test github actions

* remove other CI configs so PR doesn't get bogged down

* add poetry

* skip failing test, update behave output

* add multiple python versions

* add test cache

* try to use matrix for python version

* try to cache pip installation

* add other OSes

* whitespace changes

* skip failing test on windows

* add pip cache

* take out pip cache

* clean up, add linting steps

* add release branch to testing

* clean up

* add initial a11y config for docs site

* take out junit for now

* add junit annotations

* try different junit reporter

* add junit annotations into same workflow

* linter fix

* make junit step always run

* more junit

* clean up

* disable a11y exit code for now (always pass)

* put back travis and circle so we can temporarily run everything in tandem

* fix for issues with secret tokens
2020-11-14 12:42:36 -08:00
Micah Jerome Ellison
f25b672a0e
Add note about --debug in bug/support GitHub templates (#1069) 2020-11-06 16:19:36 -08:00
Jonathan Wren
40a7fcdbeb
Update github issue templates to use new diagnostic command (#1022) 2020-08-08 11:46:16 -07:00
MinchinWeb
78aa2548ac Update documentation.md (#1003)
Hoping to make the language more positive.
2020-07-17 18:42:45 -07:00
Jonathan Wren
c9fc298317 Add new documentation issue type to github templates (#1000) 2020-07-11 10:34:52 -07:00
Eshan
d9951b54c0 Fix typo (#976)
i twitched
2020-06-06 12:56:02 -07:00
Jonathan Wren
e37fe2e4ce Clean up templates and issues (#954)
* clean up templates and issues
* fix some title-casing
2020-05-23 15:58:04 -07:00
MinchinWeb
13d2b85d27 Update lockbot comment to encourage linking to issue (#941)
* improvements to lockbot for Github comments
* [lockbot] just the comment
2020-05-22 11:39:10 -07:00
Jonathan Wren
b2c7d29909 add lockbot to lock comments on inactive, closed issues and prs (#938) 2020-05-06 18:14:27 -07:00
MinchinWeb
db96ba7fb8 GitHub Pull Request Template Update (#927)
* Improve GitHub PR Template
* suggest running commands with `poetry run ...`

pyflakes here is given only certain subdirectories because `.` will try and run across all packages installed in the virtual environment, if the virtual environment is within the project's root folder (which is my common practice).
2020-05-02 12:06:23 -07:00
Jonathan Wren
0471402183 Create FUNDING.yml (#861)
Test out using Github sponsors
2020-04-10 11:51:56 -07:00
Jonathan Wren
cd437e8c8f Update stalebot emoji to 📌 instead of
The pushpin better reflects the functionality (stops the issue from
staling).
2020-04-10 11:51:56 -07:00
Micah Jerome Ellison
e525ed8fe1 Adding "new" labels to new issues 2020-04-10 11:51:55 -07:00
Micah Jerome Ellison
e9d12f7a77 Adding 🆕 label to github issue templates
Escaping colon label with quotes in new issue templates
2020-04-10 11:51:55 -07:00
Manuel Ebert
0dc3f1fb6e Updating Issue Template Workflow 2020-04-10 11:51:55 -07:00
Casper Weiss Bang
57960b3a51 Create templates for issues and pull requests 2020-04-10 11:51:55 -07:00
Jonathan Wren
97f8a4751e change pinned label to a super cool emoji 2020-04-10 11:51:55 -07:00
Jonathan Wren
14b7fcc1fc move stablebot back up to 60 days now that backlog is a bit more cleared out 2020-04-10 11:51:55 -07:00
Jonathan Wren
7c5ea2f5e5 reduce the number of days an issue can be open with no activity before marked stale
We will increase this again later, but we want to clean out the backlog of old issues
sooner, if possible. This will allow us to do that.
2020-04-10 11:51:55 -07:00