The sound distributed version control system

#715 Set record descriptions from the command line.

Closed on February 23, 2023
JSDurand on September 23, 2022

A record can contain a description and a message, but the user currently cannot set the description from command line.

So I write a simple patch to add this functionality.

It will make integration with editors easier I think, since when writing commit messages in editors, not triggered by pijul record, the user usually writes a summary line followed by detailed descriptions. With this feature, the editor can separate the title from the descriptions and feed them separately to pijul.

In the above, when I speak about editor, I think of Emacs. In fact, I am trying to implement Emacs VC support for pijul. The Nest repository is here.

What do you think?

JSDurand added a change on September 23, 2022
NRP4XDSDOURJ34RCHKF3YBWWX6KYRVVTU2ZTPI64DXWLXGCFRD5QC
main
sellout on September 27, 2022

I would also like to see this, and I hate to say it, but I was also looking for a vc-pijul, couldn’t find one, and started to write one. However, I’ve started by forking vc-darcs, since there are a lot of similarities. My code is also on The Nest – perhaps we should try to work together on pushing this forward?

JSDurand on September 27, 2022

I have read your codes. They are more complete than mine. Glad to know that there are other people interested in Emacs VC support for pijul as well. :)

I would like to cooperate. But right now I found my patched pijul unable to clone: when I run pijul clone it gives an error

Error: error decoding response body: invalid type: integer 1663912132, expected a formatted date and time string or a unix timestamp at line 13 column 33

I will try to find out why that happens, before I can clone your repository. (I just read your codes in the browser.)

sellout on September 27, 2022

Yeah, and your code looks much more like what I’d like – very clean and organized. Nest doesn’t offer a great way to move things OOB, so my email is greg@technomadic.org. Then we can leave this discussion to its purpose 😄

pmeunier on February 23, 2023

Applied, thanks! And I’d also like a Pijul integration with Emacs, if anyone volunteers to do that it would be fantastic.

pmeunier closed this discussion on February 23, 2023
sellout on February 23, 2023

I’ve been pretty happily using my sellout/vc-pijul package in Emacs for months. I started unifying mine and @JSDurand’s into a single repo, but stalled out on that. I should finish that work, then submit it to MELPA.

Once that’s done, I can submit a patch to link to it from the Pijul README or manual or something. (Where, if anywhere, would you like “external tool support” to be documented? I haven’t found anything.)