emanote icon indicating copy to clipboard operation
emanote copied to clipboard

Initial release

Open srid opened this issue 3 years ago • 3 comments

Emanote is currently in beta. It is time to cut the first public release.

  • [x] WIP -> Beta
  • [ ] Finish milestone tasks
  • [ ] Complete documentation
  • [x] Release dependent libraries to Hackage
    • [x] heist (as a fork package, due to upstream being unmaintained)
    • [x] tagtree
    • [x] https://github.com/well-typed/ixset-typed/issues/17
    • [x] Ema https://github.com/srid/ema/pull/81
  • [x] ~~(Optional) Build Linux static binary using Nix~~
    • [x] Try haskell.nix (including cross-compilation for musl & Windows) #155
  • [ ] Release emanote to Hackage
  • [ ] Blog post and annoucements

srid avatar Sep 24 '21 22:09 srid

Not gonna bother with static builds, because we still have to figure out a way to distribute default layer along with it (cf. #156). Let package managers worry about it. We'll make emanote available on Hackage, so a simple 'cabal install emanote' would work (as long as non-Haskell dependencies, like tailwind, are installed).

srid avatar Sep 26 '21 15:09 srid

Heist fork has been put in Hackage, https://github.com/snapframework/heist/pull/130#issuecomment-1086931247

srid avatar Apr 03 '22 19:04 srid

Now that Ema 0.8 is released it is high time we release Emanote to Hackage, just to get it to nixpkgs.

srid avatar Aug 20 '22 00:08 srid

Emanote is feature-complete enough to make the initial release now.

srid avatar Nov 02 '22 21:11 srid

Now on Hackage: https://hackage.haskell.org/package/emanote-0.8.0.0

I'd like to wait for a couple of things before making the blog post announcement:

  • Add emanote to nixpkgs (perhaps @maralorn may be interested?)
  • Add an example that shows how to use Emanote as a library to extend it (I have an idea for creating an invoice maker that uses Markdown tables and backlinks).

srid avatar Nov 03 '22 14:11 srid

@srid What do you envision as "adding to nixpkgs"? We can just use haskellPackages.emanote, right?

But I will gladly enter myself as emanote maintainer and make sure that it builds.

maralorn avatar Nov 03 '22 15:11 maralorn

We can just use haskellPackages.emanote, right?

Yea, and maybe a top-level alias as well, so nix run nixpkgs#emanote works.

The top-level flake.nix has just 4 overrides (disable tests, unmark broken) and emanote itself gets a build dependency on pkgs.stork (while unmarking the M1 package from being broken) as well as the tailwind Haskell package (which in turn has the node CLI with plugins as dependency).

But I will gladly enter myself as emanote maintainer and make sure that it builds.

That'd be great! :-)

srid avatar Nov 03 '22 15:11 srid

I can only start with that on our next haskell-updates run. I will ping back once the deed is done.

maralorn avatar Nov 03 '22 15:11 maralorn

Adressed in nixos/nixpkgs#199442.

maralorn avatar Nov 04 '22 02:11 maralorn

Pending https://github.com/NixOS/nixpkgs/pull/199424

Meanwhile, nix run github:nixos/nixpkgs/haskell-updates#emanote

srid avatar Nov 10 '22 17:11 srid

https://github.com/EmaApps/emanote/issues/372 is the main issue left to resolve before final release.

srid avatar Nov 27 '22 22:11 srid

Released 1.0!

@maralorn It would be great if you could add 1.0 to nixpkgs. Note that from packaging point of view it involves these changes:

  • Depends on new package https://hackage.haskell.org/package/commonmark-wikilink
  • We now depend on heist directly (not heist-emanote)
  • We require ema >= 0.10 (ema got split into three libraries). This may require adding self.haskellPackages.ema_0_10_0?
  • commonmark-extensions <0.2.3.3 (because the next version has a bug)

srid avatar Dec 04 '22 18:12 srid