Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664836 - app-office/hledger - command line accounting program, for tracking money, time, or other commodities (app-office/ledger fork)
Summary: app-office/hledger - command line accounting program, for tracking money, tim...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://hledger.org/
Whiteboard:
Keywords:
: 669158 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-29 17:04 UTC by Anton Kochkov
Modified: 2020-08-29 19:19 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2018-08-29 17:04:46 UTC
Gentoo already has app-office/ledger, but this project is dead and didn't update for years. There are two most active forks, and hledger (written in Haskell) is the most popular one.

http://hledger.org/

GitHub: https://github.com/simonmichael/hledger/
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-08-29 19:09:18 UTC
haskell overlay has it packaged for a while as
    https://github.com/gentoo-haskell/gentoo-haskell/tree/master/dev-haskell/hledger

If it works for you we can bring it in main gentoo tree as well.
Comment 2 crocket 2018-10-21 00:13:33 UTC
*** Bug 669158 has been marked as a duplicate of this bug. ***
Comment 3 crocket 2018-10-21 00:15:32 UTC
I want hledger and hledger-ui. You should move hledger and its associated programs from haskell overlay to gentoo overlay.

I don't use haskell overlay because of https://bugs.gentoo.org/555266 and https://bugs.gentoo.org/449094
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-21 10:11:38 UTC
(In reply to crocket from comment #3)
> I don't use haskell overlay because of https://bugs.gentoo.org/555266 and
> https://bugs.gentoo.org/449094

These problems are not specific to ::haskell overlay.
Comment 5 crocket 2018-10-21 11:00:09 UTC
You're right that https://bugs.gentoo.org/449094 affects every overlay.

You can work around https://bugs.gentoo.org/555266 with stabilization process. But, haskell overlay doesn't stick to this process.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-21 12:45:19 UTC
(In reply to crocket from comment #5)
> You're right that https://bugs.gentoo.org/449094 affects every overlay.

::gentoo tree is not exempted from it either.

> You can work around https://bugs.gentoo.org/555266 with stabilization
> process. But, haskell overlay doesn't stick to this process.

stabilization in gentoo does not prevent that from happening. Recent example: bug #633312
Comment 7 crocket 2018-10-21 14:15:48 UTC
(In reply to Sergei Trofimovich from comment #6)
> > You can work around https://bugs.gentoo.org/555266 with stabilization
> > process. But, haskell overlay doesn't stick to this process.
> 
> stabilization in gentoo does not prevent that from happening. Recent
> example: bug #633312

That bug doesn't seem to be related to https://bugs.gentoo.org/555266
Comment 8 crocket 2018-10-21 14:17:05 UTC
Anyway, it would be good to see hledger and its associated programs on gentoo overlay.
Comment 9 crocket 2018-10-22 02:13:31 UTC
I thought about how to use haskell overlay without hassles.

I ran "emerge -p hledger hledger-ui" and added packages to be installed to /etc/portage/packages.accept_keywords/haskell_overlay

Since specific versions of haskell overlay packages are unmasked, a gentoo upgrade will not automatically upgrade haskell overlay packages.

It is stabilization done by a user.
Comment 10 Beetle B. 2018-12-21 01:46:11 UTC
Another vote for this. It is one of the more well known Haskell apps out there.

hledger
hledger-ui
hledger-web
hledger-lib

I tried installing it from the Haskell overlay. After lots and lots of prompts to add this or that to package.accept_keywords, and with a lot of manual interventions, I still couldn't get it to build. The stumbling point is resourcet - I just cannot install any version of it in the overlay that hledger would need. After two nights of this I gave up.

This requires a lot more expertise than I have. Please bring into the Portage tree.
Comment 11 Anton Kochkov 2020-03-26 18:01:13 UTC
hledger is the most active ledger forks/projects - just see its release notes history: https://hledger.org/release-notes.html

It would be really awesome to have it out of the box. After all, there are way less popular packages in the Gentoo main tree...
Comment 12 Dennis Schridde 2020-08-29 16:36:09 UTC
Re: Summary: ... app-office/ledger fork

Is hledger really a fork?  I thought it's a rewrite in Haskell, where ledger was written in C++?
Comment 13 Beetle B. 2020-08-29 19:19:56 UTC
At this stage it is neither. It does not support all of Ledger's features, and has its own features that Ledger doesn't.