Description:
Add CHANGELOG check and ensure .taskpaper files are actually counted.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -2,23 +2,13 | |||
|
2 | 2 | All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/). |
|
3 | 3 | |
|
4 | 4 | ## [Unreleased] |
|
5 | First tracked version | |
|
5 | 6 | ### Changed |
|
6 | - Add a new arity to `make-widget-async` to provide a different widget shape. | |
|
7 | 7 | |
|
8 | ## [0.1.1] - 2018-09-25 | |
|
9 | ### Changed | |
|
10 | - Documentation on how to make the widgets. | |
|
8 | - Added CHANGELOG tracking. | |
|
11 | 9 | |
|
12 | 10 | ### Removed |
|
13 | - `make-widget-sync` - we're all async, all the time. | |
|
14 | 11 | |
|
15 | 12 | ### Fixed |
|
16 | - Fixed widget maker to keep working when daylight savings switches over. | |
|
13 | - Fix issue causing .taskpaper files to not be correctly identified. | |
|
17 | 14 | |
|
18 | ## 0.1.0 - 2018-09-25 | |
|
19 | ### Added | |
|
20 | - Files from the new template. | |
|
21 | - Widget maker public API - `make-widget-sync`. | |
|
22 | ||
|
23 | [Unreleased]: https://github.com/your-name/project-checkup/compare/0.1.1...HEAD | |
|
24 | [0.1.1]: https://github.com/your-name/project-checkup/compare/0.1.0...0.1.1 |
@@ -61,13 +61,17 | |||
|
61 | 61 | (let [{files :files } project] |
|
62 | 62 | (boolean (some #{"README.md" "README.txt" "README.mkd" "README"} files)) )) |
|
63 | 63 | |
|
64 | (defn check-changelog [project] | |
|
65 | (let [{files :files } project] | |
|
66 | (boolean (some #{"CHANGELOG.md" "CHANGELOG.txt" "CHANGELOG.mkd" "CHANGELOG"} files)) )) | |
|
67 | ||
|
64 | 68 | (defn check-untracked [project] |
|
65 | 69 | (let [{untracked :untracked-files } project] |
|
66 | 70 | (= (count untracked) 0)) ) |
|
67 | 71 | |
|
68 | 72 | (defn check-taskpaper [project] |
|
69 | 73 | (let [{extensions :extensions files :files } project] |
|
70 |
(or (>= (get ".taskpaper" |
|
|
74 | (or (>= (get extensions ".taskpaper" 0) 1) | |
|
71 | 75 | (some #{"TODO" "TODO.txt" } files)))) |
|
72 | 76 | |
|
73 | 77 | (defn check-readme-placeholders [project] |
@@ -103,6 +107,11 | |||
|
103 | 107 | :description "Readme exists" |
|
104 | 108 | :level :suggestion |
|
105 | 109 | :follow-up "Add a README." } |
|
110 | {:name "Project has a CHANGELOG" | |
|
111 | :function check-changelog | |
|
112 | :description "Changelog exists" | |
|
113 | :level :suggestion | |
|
114 | :follow-up "Add a CHANGELOG. Consider refering to keepachangelog.com" } | |
|
106 | 115 | {:name "README has no placeholders" |
|
107 | 116 | :function check-readme-placeholders |
|
108 | 117 | :description "No placeholders in README" |
You need to be logged in to leave comments.
Login now