Description:
Add CHANGELOG check and ensure .taskpaper files are actually counted.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r27:22ea26e47d27 -

@@ -2,23 +2,13
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/).
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 ## [Unreleased]
4 ## [Unreleased]
5 First tracked version
5 ### Changed
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
8 - Added CHANGELOG tracking.
9 ### Changed
10 - Documentation on how to make the widgets.
11
9
12 ### Removed
10 ### Removed
13 - `make-widget-sync` - we're all async, all the time.
14
11
15 ### Fixed
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 (let [{files :files } project]
61 (let [{files :files } project]
62 (boolean (some #{"README.md" "README.txt" "README.mkd" "README"} files)) ))
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 (defn check-untracked [project]
68 (defn check-untracked [project]
65 (let [{untracked :untracked-files } project]
69 (let [{untracked :untracked-files } project]
66 (= (count untracked) 0)) )
70 (= (count untracked) 0)) )
67
71
68 (defn check-taskpaper [project]
72 (defn check-taskpaper [project]
69 (let [{extensions :extensions files :files } project]
73 (let [{extensions :extensions files :files } project]
70 (or (>= (get ".taskpaper" extensions 0) 1)
74 (or (>= (get extensions ".taskpaper" 0) 1)
71 (some #{"TODO" "TODO.txt" } files))))
75 (some #{"TODO" "TODO.txt" } files))))
72
76
73 (defn check-readme-placeholders [project]
77 (defn check-readme-placeholders [project]
@@ -103,6 +107,11
103 :description "Readme exists"
107 :description "Readme exists"
104 :level :suggestion
108 :level :suggestion
105 :follow-up "Add a README." }
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 {:name "README has no placeholders"
115 {:name "README has no placeholders"
107 :function check-readme-placeholders
116 :function check-readme-placeholders
108 :description "No placeholders in README"
117 :description "No placeholders in README"
You need to be logged in to leave comments. Login now