4 ms·
I downloaded this and tried to follow the documentation [0]. `pijul add` doesn't accept wildcards, instead returning a pretty unhelpful error message: > λ piju
by maccard 5y ago
I downloaded this and tried to follow the documentation [0]. `pijul add` doesn't accept wildcards, instead returning a pretty unhelpful error message:
> λ pijul add *.*
> Error: The filename, directory name, or volume label syntax is incorrect. (o error 123)
The documentation for add [1] gives no information on the format, however I put 2 and 2 together and managed to do `pijul add . -r`. The next step is `pijul record` [2] which returns another error:
> Error: No identity configured yet. Please use `pijul key` to create one
Ok great. I ran `pijul key` [3] (which isn't documented) which returns 0, with no output. `pijul record` still says the above, so I tried `pijul key --help` which tells me I need to run a _different_ command (`pijul key generate <LOGIN>`) but doens't tell me what `login` is supposed to be. I ran `pijul key generate <my_email>` which appears to have worked, and then `pijul record`.
I actually killed it after an hour and 15 minutes, rather than waiting to see how long it would take. For reference, git add * takes about 3 minutes on the same project. Between the documentation, error messages and performance I can't see myself taking another go at this for a while.
[0] https://pijul.com/manual/getting_started.html https://pijul.com/manual/getting_started.html
[1] https://pijul.com/manual/reference/add.html https://pijul.com/manual/reference/add.html
[2] https://pijul.com/manual/reference/record.html https://pijul.com/manual/reference/record.html
[3] https://pijul.com/manual/reference/key.html https://pijul.com/manual/reference/key.html
- civilized 5y agoTip on post formatting - on this line: > λ pijul add *.cpp I think you intended an asterisk to display, but it didn't, because it's being interpreted as the start of an italics markup. So you need to escape the asterisk on this line with a backslash (i.e. type \*).
- maccard 5y agoI did, thanks. Fixed!
- rcthompson 5y ago> doesn't accept wildcards I could be misremembering, but isn't it the shell's job to expand the wildcard?
- chrismorgan 5y agoOn POSIX shells, yes. But from the error message, maccard is on Windows, and Command Prompt doesn’t expand wildcards. (PowerShell, I have no idea.) Windows programs where wildcards are reasonable are expected to resolve them themselves.
- maccard 5y agoYep I am on windows using command prompt!
- maccard 5y agoHonestly as a user it doesn't matter, ~it's a bad look for a tool when it's biggest competition _does_ handle it.~ - I'm going to consider it a feature of the competition!
- deleted 5y ago[deleted]
- pmeunier 5y agoThe goal of a beta version is to collect feedback, so thanks for that. However, that particular command worked in all the repositories I tried, so I'm really curious about what you are doing.
- maccard 5y agoThat's a fair point, and I got hung up on the 1.0 label rather than the beta label. I've adjusted my comment accordingly!
- sam_lowry_ 5y agoTo differentiate from git, pijul should focus on its core features, not on arcane command line functionality. After all, you do not know how pijul will find its success. Maybe command line will end up not being used at all one day. Remember Java? It was touted as a language for web applets first.
- pmeunier 5y agoInterested in seeing that repository, is it public? Never seen that even on massive repositories. `pijul add` times are most of the time comparable with `git add`.
- deleted 5y ago[deleted]
- maccard 5y agoThanks for the response. It's not public, but it's accessible [0]. git clone https://github.com/EpicGames/UnrealEngine cd UnrealEngine pijul init && pijul add . -r && pijul record should bring your machien to a halt! [0] https://github.com/EpicGames/UnrealEngine https://github.com/EpicGames/UnrealEngine
- pmeunier 5y agoCan't clone it. How many files are there? Also, how did you install Pijul?
- maccard 5y agoThe source code isn't public on github, you have to create an epic games account and link it. Steps are here [0]. There's 277,925 files and 22,000 directories. Installed from the community maintained builds linked from the documentation for windows. [0] https://www.unrealengine.com/en-US/ue4-on-github https://www.unrealengine.com/en-US/ue4-on-github
- Veedrac 5y agoI tried this on Linux and it worked fine, took around a minute to record and much of that was on Vim.
- pmeunier 5y agoHow did you install Pijul btw?
- maccard 5y agoFrom the docs [0] there's a link to community binaries for windows at the bottom [1] [0] https://pijul.com/manual/getting_started.html https://pijul.com/manual/getting_started.html [1] https://github.com/boringcactus/pijul-windows-builds/releases/tag/1.0.0-beta https://github.com/boringcactus/pijul-windows-builds/release...
- pmeunier 5y agoThanks! I don't have much experience with Windows, and the backend is quite closely tied to the OS. Is this on plain Windows, or on WSL?
- maccard 5y agoNo problem. This is on plain windows, not on wsl. I have a Mac that I can try it on again later (although it will have to be a much smaller repository heh)
- aidenn0 5y agoFWIW, git on windows ships with a (originally msys based) posix environment so that it can have only a single frontend as well (unlike unix shells, the windows command shell does not do wildcard expansion)
- pmeunier 5y agoThanks, but our problem is different, the datastructure on which all of this is based is memory-mapped, and does need some filesystem and OS cooperation to work well. I haven't tested Pijul on Windows much, and I know that at least at some point it didn't work on WSL.
- 5y ago
- StreamBright 5y agoGit is extremely fast. There was a pretty good article about how git is faster than cp(?) if I remember correctly. Can't find it anymore though.
- pmeunier 5y agoIt is fast for some operations indeed. But its merge is not always correct (conflicts might reappear, lines might get shuffled around randomly), and rebase and blame aren't super fast (Pijul isn't as optimised for speed as Git, yet Pijul credit is faster than Git blame, and apply is faster than the diff-and-replay strategy of Git rebase).
- StreamBright 5y agoI understand that. I think the performance of git|pijul add has not much to do with merges though.
- pmeunier 5y ago1. My comment about merges was not on performance. Performance can be considered no correct algorithms, not guesswork (such as 3-way merge). 2. "Git is fast", but when getting into the details, all the operations that are faster in Pijul do not matter.
- marton78 5y agoCouldn't Pijul be a Git plugin?