Commit Graph

94 Commits

Author SHA1 Message Date
04a9c712f9 update changelog 2021-05-09 19:42:01 -07:00
d35b7fee83 Fixed broken header in new changelogs 2021-05-09 19:39:48 -07:00
38560702f4 Path metavar 2021-05-08 00:00:41 -07:00
2d1cc4ede4 Metavar capitalization 2021-05-07 23:59:44 -07:00
66bc8509e3 Version 1.0.0
### Changed

- API changes:
  - `header` attribute renamed to `preamble` to avoid confusion.
- improved version header parsing to be more robust and handle multi-word version names.
- improved version number incrementing in `release`.
  - can now handle other text surrounding a pep440-compliant version number, which will not be modified
  - can now handle pre-releases correctly. The version to increment is the most recent version in the log with a valid pep440 version number in it. 
  - Release increment and prerelease increments can be mixed, allowing e.g: `yaclog release -mr` to create a release candidate with in incremented minor version number.
- `release` base version is now an argument instead of an option, for consistency with other commands.

### Removed

- `entry` with multiple `-b` options no longer add sub bullet points, instead adding each bullet as its own line.

### Added

- Terminal output has color to distinguish version names/headers, sections, and git information.
- Extra newlines are added between versions to improve readability of the raw markdown file.
2021-05-07 14:52:28 -07:00
66baa96f44 Reflect last change in documentation 2021-05-07 14:29:49 -07:00
3676811f85 Change release version option to an argument 2021-05-07 13:57:01 -07:00
14430e6cd2 Add epub builds 2021-05-07 01:16:20 -07:00
affb8f8627 Configure rtd 2021-05-07 01:12:30 -07:00
dacacdc496 Document a change I made 2021-05-06 23:13:09 -07:00
a925a4e420 walk back last change slightly
preamble now contains the title, to allow for representing Jekyll front matter or any other information above the title
2021-05-06 23:09:34 -07:00
a230968736 header attribute on the changelog class has been split into title and preamble 2021-05-06 22:23:35 -07:00
4b11ab839d Add explanation of changelog file format 2021-05-05 23:03:14 -07:00
8db70fb75a Add doc building dependencies 2021-05-05 02:45:17 -07:00
ac3fb0ca2b Handbook section with usage information 2021-05-05 02:37:20 -07:00
36ab0930fe Add API documentation 2021-05-04 21:16:02 -07:00
f085f318b3 Add API documentation 2021-05-04 21:01:30 -07:00
5cc815d8b6 Styling and layout for docs 2021-05-04 19:39:56 -07:00
a8fab8149c Initialize docs 2021-05-04 13:32:48 -07:00
0d4ef5b733 Use click.echo to handle removing colors when unwanted 2021-05-03 20:58:09 -07:00
2317e04330 fix release 2021-05-03 20:57:02 -07:00
7747d8a328 show command now uses color 2021-05-03 20:50:04 -07:00
000228a836 entry with multiple -b options no longer add sub bullet points 2021-04-30 21:51:04 -07:00
7c638ad5fe Improved release version handling 2021-04-30 21:19:04 -07:00
8394fbfd94 Improve version number incrementing by rewriting version module 2021-04-30 01:52:06 -07:00
17a17fea41 Version entries now have line numbers again 2021-04-29 23:53:00 -07:00
2be155c1c0 Automatically create github releases
Self hosting!
2021-04-29 23:34:01 -07:00
c43fc25eae use API in command line tools 2021-04-29 22:59:09 -07:00
6734cd3b32 Fix imports AGAIN 2021-04-29 20:38:27 -07:00
d2b4d8addd Version header parsing unit tests 2021-04-29 20:35:14 -07:00
101a47eabb Improved version header parsing 2021-04-29 19:43:18 -07:00
e79b9f07db Fix more imports
I'll deuglify the code in a bit dont worry
2021-04-28 01:07:29 -07:00
21cb103cba Fix imports
I'll deuglify the code in a bit dont worry
2021-04-28 01:02:22 -07:00
5c379e2635 Version accessors on Changelog 2021-04-28 00:58:25 -07:00
c09df3a770 Refactor changelog class and make tokenizer seperate 2021-04-27 18:56:53 -07:00
1676b28f03 changelog module documentation 2021-04-26 22:28:09 -07:00
ae4a47d3f6 Changelog tweaks 2021-04-26 19:57:25 -07:00
f56038d3c9 Version 0.3.3
### Added

- Unit tests in the `tests` folder

### Changed

- Default links and dates in VersionEntry are now consistently `None`
- Changelog links dict now contains version links. 
  Modified version links will overwrite those in the table when writing to a file
- Changelog object no longer errors when creating without a path.
- `release` now resets lesser version values when incrementing
- `release` now works with logs that have only unreleased changes
2021-04-26 19:53:50 -07:00
7b0eb4c78b Tests cleanup 2021-04-26 19:53:28 -07:00
32c09d82bd Consolidate output checking and fix git error 2021-04-25 23:18:44 -07:00
a443724d2b Even better test error logging 2021-04-25 23:09:27 -07:00
2ba414f121 Better test error logging 2021-04-25 23:05:16 -07:00
140faccb69 Attempt to fix tagging error? 2021-04-25 22:59:13 -07:00
08be02a49c More CLI tests 2021-04-25 22:47:55 -07:00
3972786d82 Fix release command and empty logs 2021-04-25 22:20:42 -07:00
ec9c785c3a Fix version incrementing 2021-04-25 22:19:14 -07:00
daaf21ca8d Cleanup 2021-04-25 19:54:00 -07:00
0c11cf9ffc Add tests for log writer 2021-04-25 19:51:12 -07:00
a13fa34c0c Update changelog 2021-04-25 19:28:50 -07:00
73a331f3e5 Use correct test runner 2021-04-25 15:58:38 -07:00