git 1.0.0 - release
Pages: 1 2
Charles Ferguson (8243) 427 posts |
Network operations are a little bit ropey, it seems. I’ve already mentioned that it was doing odd things to try to access CertData, but I’ve done some more tests, and it’s even more weird in what it’s doing. Here’s the remote I’ve got configured: *git remote --verbose fake <a href="http://localhost:80/foo.git">http://localhost:80/foo.git</a> (fetch) fake <a href="http://localhost:80/foo.git">http://localhost:80/foo.git</a> (push) And I want to fetch from it with `git fetch fake`. The full log can be found here: https://gitlab.gerph.org/snippets/19 Here’s a quick summary of what happened: (the read catalogue info calls are performed twice – I’m not sure whether that’s something I’m doing or something that the git tool is doing, so I’m just treating the ‘read catalogue info with path’ + ‘read catalogue info’ operations as a single operation.
In other debug (which I didn’t include here, because it’s crazy noisy) I had the system variables enabled and after trying to read the CertData, it does this (which could be inserted into the above description):
So there’s a few things here:
|
Ronald (387) 195 posts |
Yes you have caught most of the typical things that can go wrong in linux ports. The problem could run deeper with git if it is constantly changing paths. Yes the other thing to be aware of is those <http:://blah.blah> which could be getting read as an empty variable, in the same way the CLI does. I have a small c utilty called unixvar that I use from an obey file to construct a unixpath variable such as FETCHMAILHOME that the unix port supposedly looks up as $FETCHMAILHOME. |
Leo Smiers (245) 56 posts |
I have a problem with adding a file. I have the following struture: src main/c t I can add the file src.t, but adding the file src.main/c does not add the file (command: git add src.main/c). ‘git status’ says that the file src.c.main is untracked. ‘git add src.c.main’ does not add the file. Any suggestions? |
Martin Avison (27) 1494 posts |
Any progress on this since Kevin announced v1.0.0 in back in July 2020? The /git vs .git naming issue raised above seems to be a particular problem for me. |
alban read (2898) 20 posts |
Thanks Kevin, I find this !git utilty incredibly useful, it is a real time saver for me. |
Dave Higton (1515) 3525 posts |
Has this sunk without trace? |
Martin Avison (27) 1494 posts |
I believe so. In 2021 Kevin said to me I’m likely not going to continue its development – largely because of the lack of much interest in it! But I am very hopeful that the ROOL Git port will more than replace it before too long. |
Charles Ferguson (8243) 427 posts |
It’s a real pity :-( I was very excited that it was working so well, and that even with a more limited set of operations it was still very functional. There were a few problems – some of my own making and some that were of more advanced things that wouldn’t have affected most people. Showing that a more limited functionality client was genuinely viable and useful was (I think) the encouragement to get my own git implementation to a point where it was useful. |
Dave Higton (1515) 3525 posts |
So: have you got your own git implementation to a point where it’s useful, and will you release it to the world? |
Martin Avison (27) 1494 posts |
Looking at https://www.riscosopen.org/content/documents/bounties it would seem that there has been considerable progress with the Git client bounty – including a GUI. |
Charles Ferguson (8243) 427 posts |
Dave Higton asked…
It handles pretty much anything you might need – so much so that it’s not a part of the ‘things that are a bit poor’ list in my head and is really just a ‘something that I can rely on if I need to’. Regular clones and pushes (with and without authentication), commits, merges, rebases, logging, submodules, diffs, stashing, tagging… they all appear to work just fine. It has been available both in the RISC OS Build service (https://build.riscos.online/), and on https://shell.riscos.online, and if you request a copy of RISC OS Pyromaniac, for quite some time. According to the changelog, it’s been available since December 2022 (https://pyromaniac.riscos.online/pyromaniac/CHANGELOG.html#042-01-dec-2022). So yes, it’s been released to the world quite some time back. A video showing how to use it to build things was produced back in January 2023 – https://presentations.riscos.online/using-git/index.html – to complement the other demonstrations of how you use git in other environments. A small demo of building with RISC OS incorporates a tiny bit of checking out with git – https://presentations.riscos.online/live/building-beebit.html There were also a number of posts on twitter about it back then as well, of which … 27 Nov 2022
https://share.gerph.org/s/FSr4Ru6YfxxIQDU 26 Dec 2022
https://share.gerph.org/s/gkOU8Rv60AH0Wji 27 Dec 2022
https://share.gerph.org/s/oCSCksVJt2apjl3 And of course the behaviour of the module is documented on the website as well – https://pyromaniac.riscos.online/pyromaniac/prm/programmers/pyromaniacgit.html There’s simple help in the system as well… *help git ==> Help on keyword 'Git' (PyromaniacGit) Interface to the host 'git' command. This command must be supplied a command which many different parameters. More information on the options can be found through the help command: *Git help - lists the available commands. *Git help <command> - lists options for a command. The operation of the git command is based on that of the host system. Whilst the interface has many limitations, it should be able to be used in a similar way to the standard version. Filenames should be able to be specified in RISC OS format and will be translated to the host format. To function, many of the environment variables from the original system have been mapped to a form more like the manner that RISC OS functions. These variables and their translation are described in '*Help GitVariables'. For more information on the meaning of the options for commands, please refer to the standard documentation (<a href="https://git-scm.com/docs">https://git-scm.com/docs</a>). Commands: add Add file contents to the index annotate Annotate file lines with commit information blame Show what revision and author last modified each line of a file branch List, create, or delete branches checkout Switch branches or restore working tree files cherry-pick Apply the changes introduced by some existing commits clean Remove untracked files from the working tree clone Clone a repository into a new directory commit Record changes to the repository describe Give an object a human readable name based on an available ref diff Show changes between commits, commit and working tree, etc fetch Fetch from another repository or a local branch grep Print lines matching a pattern help Display help for a given command init Create an empty Git repository or reinitialize an existing one log Show commit logs merge Join two or more development histories together mv Move or rename a file or directory pull Fetch from and integrate with another repository or a local branch push Push to a remote repository rebase Reapply commits on top of another base tip reflog Manage reflog information remote Manage set of tracked repositories reset Reset current HEAD to the specified state restore Restore working tree files rev-parse Pick out and massage parameters rm Remove files from the working tree and from the index shortlog Summarize 'git log' output show Show various types of objects stash Stash the changes in a dirty working directory away status Show the working tree status switch Switch branches tag Create, list, and delete tags on objects version Report the version of git on the host and RISC OS system Syntax: *Git <command> [<options>] |
Rick Murray (539) 13840 posts |
And now it’s being mentioned in the place where we hang out. ;)
Twitter is worse than useless these days. People should stop relying on it as an information source (or, worse, their only source of contact). https://twitter.com/i/flow/login?redirect_after_login=%2Fropyromaniac So that’s a big nope from me. |
Steve Pampling (1551) 8170 posts |
Just curiosity makes me ask which of the links presented is the one where an interested, potential, user just does their normal click here to download and gets a zip file with something they can:
|
Charles Ferguson (8243) 427 posts |
Steve Pampling wrote:
For RISC OS Pyromaniac, as I have repeatedly stated, you drop me an email and you can have a copy of Pyromaniac to run locally. Pyromaniac comes with lots of documentation about how to use it, but until anyone does so, I don’t know if that’s useful. Feel free to drop me an email. But the cloud services are available right now.
Rick Murray wrote:
I’m mentioning it now because it’s a core part of Pyromaniac as a pretty functional system, and in reference to the fact that Kevin’s git was the inspiration to get things moving. It has been mentioned a few times at ROUGOL chats I believe, and as it was just part of general development. How to use it was part of the video I mentioned previously, announced by Paolo – https://www.riscosopen.org/forum/forums/1/topics/17687 back in January last year.
Opinion is cheap. Since I neither rely on it as an information source, or as a point of contact, your comment is entirely irrelevant. |
Paolo Fabio Zaino (28) 1882 posts |
I can confirm Charles message. I have an happy Pyromaniac running on my Mac M1. All I had to do was, asking him :) |
Pages: 1 2