lentil 0.1.2.5 → 0.1.2.6
raw patch · 8 files changed
+43/−24 lines, 8 files
Files
- changes.txt +6/−0
- doc/usr/page.rst +1/−0
- issues.txt +18/−22
- lentil.cabal +2/−1
- src/Lentil/Parse/Syntaxes.hs +1/−0
- src/Main.hs +1/−1
- test/Lentil/Parse/RunSpec.hs +3/−0
- test/test-files/lang-comm/shell.sh +11/−0
changes.txt view
@@ -1,3 +1,9 @@+0.1.2.6+-------++- Released Mon 13 Jul 2015 12:24:24 CEST+- added shell script syntax (.sh) (requeste by qptain nemo).+ 0.1.2.5 -------
doc/usr/page.rst view
@@ -140,6 +140,7 @@ - python source files (``.py``) - ruby source files (``.rb``) - perl source files (``.pl``, ``.pm``, ``.t``)+- shell script source files (``.sh``) - plain text files (``.txt``) Every other file-type will get ignored! Contact me if you need another
issues.txt view
@@ -1,29 +1,29 @@ doc/dev/issues.txt- 10 from String to Text? [feature:advanced]- 11 have stuff linked to haskell-platform friendly e non template+ 10 have stuff linked to haskell-platform friendly e non template haskell and stuff [feature:intermediate]- 13 html report, come hlint [feature:advanced]- 14 symlinks? [feature:intermediate]- 15 check --output pretty, there are trailing white spaces [bug] [u:1]- 16 test con 7.6.3 [feature:basic] [test]- 17 linux kernel, lentil si inceppa su dei caratteri [bug]- 18 da cabal a hpack [u:1] [feature:advanced]- 19 sm: issue numbers is valuable [design] [request]- 20 sm: have a way to link to discussion/history of issue [design]+ 12 html report, come hlint [feature:advanced]+ 13 symlinks? [feature:intermediate]+ 14 check --output pretty, there are trailing white spaces [bug] [u:1]+ 15 test con 7.6.3 [feature:basic] [test]+ 16 linux kernel, lentil si inceppa su dei caratteri [bug]+ 17 da cabal a hpack [u:1] [feature:advanced]+ 18 sm: issue numbers is valuable [design] [request]+ 19 sm: have a way to link to discussion/history of issue [design] [request]- 21 sm: 1. lentil autogenerates numbers where missing adding tags, 2.+ 20 sm: 1. lentil autogenerates numbers where missing adding tags, 2. creates an associated numbered file in .issues/, displays associated notes written in those files is asked, 3. even update them when there is a source change. (4) these files could be webserved when they want something linkable. Vedi comments in doc/dev/issues.txt [design] [request]- 27 chickpea, lentil's brother. Two commands, add number to numberless+ 26 chickpea, lentil's brother. Two commands, add number to numberless tag (#1212 or something), create a mini db with those issues, which automatically updated and you can even write stuff in there. O maybe you can even add lentil, chickpea and quinoa. Vedi more in doc/dev/issues.txt [design]- 33 make it lazy in ouputting todos [refactor]- 34 way to 'group' (section) output by tag [feature:advanced]+ 32 make it lazy in ouputting todos [refactor]+ 33 way to 'group' (section) output by tag [feature:advanced]+ 34 win (and mac?) builds [package] [u:3] src/Lentil/Args.hs 23 disambiguation optparse-applicative [feature:intermediate]@@ -33,10 +33,6 @@ src/Lentil/File.hs 51 combine funziona su windows? [feature:intermediate] -src/Lentil/Parse/Issue.hs- 109 usa spaces non ' ' [fixme]- 151 specifica meglio [fixme]- src/Lentil/Parse/Run.hs 32 a function String -> [Issue] 73 change '\n' trick [refactor] [duct]@@ -44,13 +40,13 @@ src/Lentil/Parse/Syntaxes.hs 21 add langparsers che sia estensibile e leggibile a compilazione [u:2] [feature:intermediate]- 37 multiline signature? [lint]- 38 tag at the beginning too? [design]+ 38 multiline signature? [lint]+ 39 tag at the beginning too? [design] src/Main.hs 35 add doc to use less -r when piping hIsTerminalDevice stdout [doc] test/Tests.hs 4 - http://hackage.haskell.org/package/mockery-0.3.0/docs/Test-Mockery-Directory.html- instead of folder use this? [refactor]+ http://hackage.haskell.org/package/mockery-0.3.0/docs/Test-Mockery-Directory.html+ instead of folder use this? [refactor]
lentil.cabal view
@@ -1,5 +1,5 @@ name: lentil-version: 0.1.2.5+version: 0.1.2.6 synopsis: frugal issue tracker description: minumum effort, cohesive issue tracker based on ubiquitous @TODO@s and @FIXME@s conventions.@@ -21,6 +21,7 @@ test/test-files/lang-comm/python.py, test/test-files/lang-comm/ruby.rb, test/test-files/lang-comm/perl.pl,+ test/test-files/lang-comm/shell.sh, test/test-files/lang-comm/test.txt, test/test-files/lang-comm/text.txt, test/test-files/specific/contiguous.c,
src/Lentil/Parse/Syntaxes.hs view
@@ -31,6 +31,7 @@ | ext `elem` [".py"] = Just python | ext `elem` [".rb"] = Just ruby | ext `elem` [".pl", ".pm", ".t"] = Just perl+ | ext `elem` [".sh"] = Just perl -- shell | ext `elem` [".txt"] = Just text | otherwise = Nothing where ext = SF.takeExtension fp
src/Main.hs view
@@ -28,7 +28,7 @@ short 'v' <> help "show version and copyright info" ) where- versionCopy = "lentil - a frugal issue tracker, version 0.1.2.5\n\+ versionCopy = "lentil - a frugal issue tracker, version 0.1.2.6\n\ \(C) 2015 Francesco Ariis - http://www.ariis.it\n\ \released under the GNU General Public License 3\n"
test/Lentil/Parse/RunSpec.hs view
@@ -61,6 +61,9 @@ it "parses a perl source" $ fileParser "test/test-files/lang-comm/perl.pl" `shouldReturn` spt "test/test-files/lang-comm/perl.pl"+ it "parses a shell script source" $+ fileParser "test/test-files/lang-comm/shell.sh"+ `shouldReturn` spt "test/test-files/lang-comm/shell.sh" describe "issueFinder" $ do it "reads a file (code or txt) for issues" $
+ test/test-files/lang-comm/shell.sh view
@@ -0,0 +1,11 @@+# TODO: single+# comment+# todo single2++c = "st/*ring" # string+letter = 'c' # char++# todo block1+# TODO: block2 [tog]++# end