News for hackers. Stuff that matters.
Re:Unison 1.0 Release by phplovesong on Tuesday November 25, 2025 @03:37PM (#46050452)
How does the database of code work with git? Should you share it or version it too?
Re:Unison 1.0 Release by rlmark on Tuesday November 25, 2025 @03:47PM (#46050578)
The tool you use to interact with the code database keeps track of the changes in an append-only log - if you're familiar with git, the commands for tracking changes echo those of git (push, pull, merge, etc) and many of them integrate with git tooling.

The projects in a codebase can absolutely be shared and versioned as well. Here's a log of release artifacts from a library as an example: https://share.unison-lang.org/@unison/base/releases.

Re:Unison 1.0 Release by aryairani on Tuesday November 25, 2025 @03:46PM (#46050561)
No, Unison has its own native version control, and a code sharing platform at https://share.unison-lang.org
Re:Unison 1.0 Release by spooky_deep on Tuesday November 25, 2025 @05:07PM (#46051384)
What’s a good way to include Unison code in a more traditional Git monorepo?
Re:Unison 1.0 Release by pchiusano on Tuesday November 25, 2025 @06:08PM (#46051939)
That depends. What are you wanting to accomplish more broadly with the integration?

I'll mention a couple things that might be relevant - you could have the git repo reference a branch or an immutable namespace hash on Unison Share. And as part of your git repo's CI, pull the Unison code and compile and/or deploy it or whatever you need to do.

There's support for webhooks on Unison Share as well, so you can do things like "open a PR to bump the dependency on the git repo whenever a new commit is pushed to branch XYZ on Unison Share".

Basically, with webhooks on GH and/or Unison Share and a bit of scripting you can set up whatever workflow you want.

Feel free to come by the Discord https://unison-lang.org/discord if you're wanting to try out Unison but not sure how best to integrate with an existing git repo.

Re:Unison 1.0 Release by tasuki on Wednesday November 26, 2025 @08:31AM (#46057229)
> What are you wanting to accomplish more broadly with the integration?

For me that would be:

- not lose my stuff

- share with friends

- let others contribute

Re:Unison 1.0 Release by pchiusano on Wednesday November 26, 2025 @03:01PM (#46061710)
Use Unison Share, it's great for all that!

https://share.unison-lang.org/

It's open source, you can create a free account with GitHub OAuth, and you can push projects there and collaborate on them, open PRs, publish releases, etc. It's very quick to pick up if you're already familiar with GitHub.