Commit graph

71 commits

Author SHA1 Message Date
Šarūnas Nejus
d2a94c1cdd
release.py: Add changelog.rst conversion to markdown 2024-06-07 09:01:44 +01:00
Šarūnas Nejus
3e5e1eca87
release.py: simplify bumping the version
Additionally, update the 'in progress' header in the changelog: instead
of using a specific version number, simply say 'Unreleased' since we do
not know in advance what version will the changes be eventually
released.

This also simplifies latest changelog retrieval.
2024-06-07 09:01:44 +01:00
Šarūnas Nejus
be778b8da0
release.py: Use click for the CLI 2024-06-05 19:12:50 +01:00
Serene-Arc
591d052647
Fix formatting of replacement
Black requires that there be double quotes instead of single
2024-06-05 19:12:50 +01:00
Serene-Arc
ff3bf918b0
Fix new heading in docs 2024-06-05 19:12:49 +01:00
Serene
b88c09720c
Add a workflow for easily creating releases (#4952)
I humbly present a solution our lack of releases: a workflow that can be
triggered to automatically create one. This workflow builds the project,
creates a GitHub release, and publishes beets to PyPi, for a one-stop
solution.

@sampsyo this would make it much easier to create releases, as it
requires only one little interaction: going to the actions tab and
entering a version number. Once that's done, the workflow should take
care of the rest.

I have only tested the `build` job so far, since I can't do anything
about the pypi or do a release just to test, but the code is lifted from
other similar actions and should work fine.

It also requires one piece of setup. This is that PyPi must be set up
with a [trusted publisher](https://docs.pypi.org/trusted-publishers/) to
receive the new package. Once that's done, the process should go off
automatically.
2024-05-30 08:57:02 +10:00
Michael Thies
c153f72e47 zsh completion script for the beet command is more portable now:
- avoids the mawk-specific {,n} regex operator
- a directly usable sqlite3 output format is selected explicitly, when retrieving suggestions for field values; this avoids the previously used GNU-sed-specific post-processing of the sqlite3 output
- completion caching is enabled for the beet command and its parameter contexts, even if not enabled globally by the user; caching is required for field value suggestions
2024-01-15 09:58:39 +01:00
Serene-Arc
8c898ce524 Fix script for changelog 2023-10-27 17:58:47 +10:00
Serene-Arc
308f9f5f1c Update script markdown export 2023-10-27 17:48:01 +10:00
Serene-Arc
a6e5201ff3 Apply formatting tools to all files
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
Kian-Meng Ang
873a91c541 Fix typos
Found via `codespell -S ./test/rsrc,genres.txt -L
caf,fo,ue,searchin,crashers,crasher,te,skool,egal,nothin`
2023-09-25 12:52:26 +08:00
wisp3rwind
fafddced6e release.py: fix version regex (remove u'' string prefix) 2022-08-20 07:30:15 +02:00
Michael Klein
a903e6649a zsh completion: handle destination for "convert"
Use directory name completion for -d/--dest option.
2022-01-30 18:22:42 +01:00
Adrian Sampson
e3f4e19298
Version bump: v1.6.1 2021-11-27 11:38:48 -05:00
Andrew Rogl
fc4d65a387 Missed a few unicode strings 2021-09-26 16:51:01 +10:00
Andrew Rogl
0f48ccde78 Final pyupgrade 2021-08-26 20:14:08 +10:00
FichteFoll
728203e15a
beets.io now supports HTTPS
See https://github.com/beetbox/beets/pull/3297.
2019-06-06 15:34:15 +02:00
FichteFoll
aa31fea037
Update a lot of URLs to use HTTPS
*All* URLs were checked manually, but only once per domain!

I mostly concerned myself with URLs in documentation rather than source
code because the latter may or may not have impactful changes, while the
former should be straight forward.

Changes in addition to simply adding an s:

- changed pip and pypi references as their location has changed
- MPoD (iOS app) url redirects to Regelian, so I replaced those
- updated homebrew references

Notable observations:

- beets.io does have HTTPS set up properly (via gh-pages)
- beatport.py uses the old HTTP url for beatport
- as does lyrics.py for lyrics.wikia.com
- https://tomahawk-player.org/ expired long ago, but the http page
  redirects to https regardless
- none of the sourceforge subdomains have https (in 2019!)
2019-06-05 03:11:49 +02:00
Adrian Sampson
a469b3284e Don't require python2 for releases 2018-05-29 16:07:00 -04:00
vapniks
5b9cebe9a0
Use beet config -p to update BEETS_CONFIG 2018-05-10 13:06:31 +01:00
vapniks
7e0fbef9fe
Update _beet; incremental caching
Lots of changes to implement incremental caching scheme.
2018-05-09 21:25:40 +01:00
vapniks
209d281871
Update _beet to use zsh caching
Caching is now done with zsh builtin completion caching functions.
2018-05-01 21:58:11 +01:00
Reg
19b5a92632 fixed typo seperate/separate 2018-02-04 20:29:03 +01:00
Adrian Sampson
298050f369 Update Pandoc wrap CLI flag 2017-12-21 13:15:54 -05:00
Adrian Sampson
707796e609 Update Windows registry file for Python 3.6
Closes #2424.
2017-02-01 00:36:37 -05:00
Adrian Sampson
46e242b2b9 Roll back zsh completion to 9dc7995
See #2266. The recently introduced caching mechanism is nifty, but it's
causing problems for many users. We're rolling it back until the author can
get to the bottom of the problem.
2016-12-16 21:49:36 -05:00
Adrian Sampson
d99b46612f Fix version bumping in release.py 2016-11-25 21:37:25 -05:00
vapniks
44f33cabc7 Update _beet
update documentation
2016-10-10 19:45:03 +01:00
vapniks
8671c83817 Delete _beet_cached 2016-10-02 19:54:39 +01:00
vapniks
5282d2882e Automatically generate cache file
This makes updating cache files easier; you just delete the old one and try completing again.
2016-10-02 19:54:10 +01:00
vapniks
be69f52b69 Update _beet_cached 2016-10-02 16:31:02 +01:00
vapniks
873a6251af Update comments in _beet_cached 2016-10-02 16:29:36 +01:00
vapniks
df3a4317a6 Cached completion file (faster)
A cached completion file for faster initial completions.
Completes the following plugins: fuzzy play info lyrics fromfilename check lastgenre badfiles chroma edit smartplaylist
2016-10-02 16:27:22 +01:00
vapniks
9dc79950d3 Update comments section of _beet
More accurate instructions on how to create a cached completion file (previous instructions where incorrect)
2016-10-02 16:20:55 +01:00
vapniks
c1e04ac039 Update _beet
Some fixes to make it work with new plugins
2016-09-29 15:05:50 +01:00
Johnny Robeson
7a2bdf502f s/utf8/utf-8/ in all encoding/decoding contexts
This matches up with the python documentation.
2016-09-06 23:10:24 -04:00
Johnny Robeson
9b2e126132 remove __future__ import from py3 native release.py 2016-05-28 17:24:55 -04:00
Markus Unterwaditzer
5c41a9e767 Remove superfluous parens 2016-05-28 00:26:57 +02:00
Markus Unterwaditzer
1ae6ce04dd Run python-modernize across the codebase 2016-05-27 23:13:01 +02:00
Adrian Sampson
1cbf992d4f release.py: Automate GitHub release creation 2016-02-07 23:00:06 -08:00
Adrian Sampson
0301bb517d Update links for our new domain 2016-01-08 16:26:13 -08:00
Peter Kessen
f5eca77117 added encoding as comment
last file for encoding check
python3 file without license
2015-11-19 18:54:02 +01:00
akermu
f031ce581b Make command filtering in zsh completion more robust.
- Filter out any lines that don't resemble a command in the help text.

- Fixes #1525.
2015-09-17 19:04:39 +02:00
Minijackson
6b20b8a48a Change tabs to spaces for coherence 2015-07-14 16:21:16 +02:00
Minijackson
683dc360f8 Add default library location fallback 2015-07-14 16:16:19 +02:00
Adrian Sampson
9f2d58e47a release.py: push the commits too 2015-04-24 08:55:23 -07:00
Adrian Sampson
bd6cea4204 release.py is Py3k 2015-04-05 23:19:21 -05:00
Adrian Sampson
97890d989f Changelog converter: handle :user: and 🐛 2015-04-04 21:23:22 -07:00
Bruno Cauet
02d8e88ef1 Replace all mentions of 'str' with 'bytes' 2015-01-20 12:48:15 +01:00
Bruno Cauet
9c41c39913 Do __name__ comparison with bytes and not unicode 2015-01-20 12:03:57 +01:00