# Lentil - frugal issue tracker (v. 1.2)

**URL:** <https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669>\
**Category:** Show and Tell\
**Created:** [May 10, 2019, 11:09pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669 "2019-05-10T23:09:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![f-a](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/f-a/32/2740_2.png) [@f-a](https://discourse.haskell.org/u/f-a)\
**Post date:** [May 10, 2019, 11:09pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/1 "2019-05-10T23:09:44Z")

</div>

I am happy to announce the release of [lentil 1.2](https://hackage.haskell.org/package/lentil)!

## What is lentil?

`lentil` is a minimum effort issue tracker; if you litter your code with:

```
-- FIXME: does outPop work with b/w terminals? [ansi]

```

`lentil` can help you listing, sorting, exporting, tagging slicing and dicing those `todo`s.  
To see it in action just type:

```
cabal new-install lentil # binaries available too (see homepage)
cd ~/your-project-folder/
lentil .

```

Any repo will do, not only Haskell ones!  
For further information & manual, check [project homepage](http://ariis.it/static/articles/lentil/page.html).

## What’s new in 1.2?

- Switched to `megaparsec`, speeding things up by 35%;
- Added custom flagwords;
- Added a plethora of new languages support (Erlang, OCaml, Rust, SML, Scala, …);
- Added basic support for `org-mode` files (TODO and list-like items) and markdown files;
- Added more export options (XML);
- Added view to lists tags by popularity.

I want to thank [everyone who contributed](http://ariis.it/link/repos/lentil/authors.txt): your patches/reports/suggestions helped the tremendously!

---

<div class="post-metadata">

**Author:** ![iustin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/iustin/32/420_2.png) [@iustin](https://discourse.haskell.org/u/iustin)\
**Post date:** [May 11, 2019, 8:50pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/2 "2019-05-11T20:50:02Z")

</div>

Wohoo, this is very useful. I didn’t realise I have that many TODOs in the codebase. Thanks!

---

<div class="post-metadata">

**Author:** ![ad-si](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/ad-si/32/3765_2.png) [@ad-si](https://discourse.haskell.org/u/ad-si)\
**Post date:** [May 13, 2019, 12:48pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/3 "2019-05-13T12:48:24Z")

</div>

Cool, nice program! 😁

… but can you please add support for PureScript ([http://www.purescript.org](http://www.purescript.org))!? 😉

---

<div class="post-metadata">

**Author:** ![f-a](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/f-a/32/2740_2.png) [@f-a](https://discourse.haskell.org/u/f-a)\
**Post date:** [May 13, 2019, 2:33pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/4 "2019-05-13T14:33:50Z")

</div>

Sure! I just uploaded [lentil-1.2.3.0](http://hackage.haskell.org/package/lentil-1.2.3.0), it auto-scans for `.purs` file!

---

<div class="post-metadata">

**Author:** ![ad-si](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/ad-si/32/3765_2.png) [@ad-si](https://discourse.haskell.org/u/ad-si)\
**Post date:** [May 13, 2019, 3:10pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/5 "2019-05-13T15:10:24Z")

</div>

Awesome, thanks! Added to my tool-belt 😁

---

<div class="post-metadata">

**Author:** ![iustin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/iustin/32/420_2.png) [@iustin](https://discourse.haskell.org/u/iustin)\
**Post date:** [May 15, 2019, 12:05pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/6 "2019-05-15T12:05:56Z")

</div>

Since this is not on github/gitlab/etc., is there a way to see a list of bugs/feature requests? Otherwise I’ll ask via email, but nowadays seems somewhat opaque.

Thanks again!

---

<div class="post-metadata">

**Author:** ![f-a](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/f-a/32/2740_2.png) [@f-a](https://discourse.haskell.org/u/f-a)\
**Post date:** [May 15, 2019, 12:33pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/7 "2019-05-15T12:33:14Z")

</div>

True to dogfooding, I write every reported Issue/request in a TODO and run `lentil` periodically to [update this list](http://ariis.it/link/repos/lentil/issues.txt).

Simon Michael suggested a web-like interface to display them in a WWW friendly manner. It is a good idea and I have some handwritten notes on how to implement it (tentative name: `chickpea`), but never got around to make it!

---

<div class="post-metadata">

**Author:** ![iustin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/iustin/32/420_2.png) [@iustin](https://discourse.haskell.org/u/iustin)\
**Post date:** [May 15, 2019, 6:44pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/8 "2019-05-15T18:44:56Z")

</div>

Ah, I see, didn’t think to check.

Anyway, here’s my suggestions:

- a markdown output would be useful, as then it can be transformed via pandoc into whatever; I’d use this to put up an HTML up somewhere; I don’t need it to be serving (in real time), just to be able to render a HTML, and the markdown→pandoc route seems best
- scanner for yesod templates (hamlet/julius/casius), which are a bit difficult since they are html/js/css + embedded Haskell

Both are very “would scratch my itch” requests, of course 🙂

---

<div class="post-metadata">

**Author:** ![f-a](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/f-a/32/2740_2.png) [@f-a](https://discourse.haskell.org/u/f-a)\
**Post date:** [May 15, 2019, 9:20pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/9 "2019-05-15T21:20:40Z")

</div>

Thanks, added both to the issue-list!

For the first request: I use markdown very little. Say you have:

```
doc/dev/issues.txt
  11 check --output pretty, there are trailing white spaces [bug] [u:1]

```

what would be a reasonable .md output?

---

<div class="post-metadata">

**Author:** ![tarleb](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/tarleb/32/52_2.png) [@tarleb](https://discourse.haskell.org/u/tarleb)\
**Post date:** [May 17, 2019, 8:04am UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/10 "2019-05-17T08:04:59Z")

</div>

Maybe it would be easier to provide some JSON output. JSON is easily consumed by most tools, and writing a small script to convert JSON into pandoc’s internal format (and from there to HTML/Markdown/Org-mode/…) is reasonably simple.

---

<div class="post-metadata">

**Author:** ![iustin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/iustin/32/420_2.png) [@iustin](https://discourse.haskell.org/u/iustin)\
**Post date:** [May 27, 2019, 7:59pm UTC](https://discourse.haskell.org/t/lentil-frugal-issue-tracker-v-1-2/669/11 "2019-05-27T19:59:18Z")

</div>

> [@f-a](#):
>
> Say you have:
> 
> ```
> doc/dev/issues.txt
> 11 check --output pretty, there are trailing white spaces [bug] [u:1]
> 
> ```
> 
> what would be a reasonable .md output?

I’ve delayed responding to this because, I realised, not what to generate as markdown is the question, but is is rather how should a web report look like. Backtracking from that to markdown is rather easy.

And what should the HTML look like I’m not so sure about, I realised. Surely all the tags in the file list would link to a summary section that is basically what `-f tagpop` does today, but beyond that, not sure.
