- Jan 26, 2025
-
-
Georges Racinet authored
-
- Jan 15, 2025
-
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
We've seen at least a case when Git complain about lack of such a key. Strong suspicion that this is not the case, and the user feedback is slightly wrong. Still committing the new key and `known_hosts` file, as it will make investigation faster.
-
- Jan 14, 2025
-
-
Georges Racinet authored
See the docstring in test fixture about how Gitaly did not want to play with SSH to localhost.
-
- Jan 11, 2025
-
-
Georges Racinet authored
Part of heptapod#1973. We will take care of `resolved_address` in a second move. Implementing this is worth a minor version bump. More tests, especially in the divergent case would be useful. We have actually some that need pushing on a workstation that is currently offline (and passed of course).
-
- Jan 12, 2025
-
-
Georges Racinet authored
Amazing that we did not need it until now, yet rather straightforward.
-
Georges Racinet authored
This is heavy, yet we now import everything from py-heptapod
-
Georges Racinet authored
This reduces hardcoding and duplication, making future refactorings once only native is supported easier. Newly exported in py-heptapod 5.0.1
-
Georges Racinet authored
In mercurial-testhelpers, `LocalRepoWrapper.reload()` has landed a long time ago.
-
Georges Racinet authored
Doing this before `+hgitaly/hg-git` starts creeping everywhere
-
- Jan 11, 2025
-
-
Georges Racinet authored
In case the streaming field is optional, we still want to send at least one request.
-
Georges Racinet authored
In this fixture, the repo is marked as native, and the Git repo is expected in `+hgitaly/hg-git`.
-
Georges Racinet authored
This will be useful to add Comparison Tests, even though it is unlikely that we would implement in Python any method of the `RemoteService`
-
- Jan 02, 2025
-
-
Georges Racinet authored
It will be the appropriate idiom when working on Git pushes. The creation from a `MercurialPeer` instance is now merely added sugar.
-
Georges Racinet authored
Thanks to the previous refactorings, most of the existing code (especially process management) can be reused without duplication. Remaining genericization is mostly about error messages and logging, to avoid creating red herrings.
-
Georges Racinet authored
It can be useful.
-
Georges Racinet authored
In some situations (mostly testing for the time being) we will be confronted to the reverse of the usual convention: this time we strip the `.hg` suffix.
-
Georges Racinet authored
-
Georges Racinet authored
Will be essential in all cases when we need to spawn Git subprocesses (see heptapod#1963). Still, defaulting to the simple "git" value, as we did previously with Mercurial.
-
Georges Racinet authored
-
Georges Racinet authored
This is in preparation for the same code being able to spawn Git subprocesss. We introduce the `logging_name` field as a simple way to make the `spawn()` method generic without sacrifying clarity of logs (notably to detect VCS type mismatches). It is `&'static str` to avoid ownership issues across tasks and that is good enough for now.
-
Georges Racinet authored
This is in preparation for this utilities to take care of Git subprocesses as well.
-
- Jan 06, 2025
-
-
Georges Racinet authored
As of py-heptapod 5.0, native Projects with Git conversion do not exit (conversion is still possible for mirroring, but does not happen automatically at each Mercurial transaction). Part of heptapod#1963
-
- Dec 31, 2024
-
-
Georges Racinet authored
It turns out that `&'static str` implements `Into(OsString`. This probably does not change performance, especially since it is for building subprocess arguments, but it is less eyes-hurting.
-
Georges Racinet authored
The case of revset giving empty results is a complication. Would be better in `hg_log_spawn` to be able to duplicate the previous `Command` Closes #222
-
Georges Racinet authored
This will be common to all remote push and pull methods.
-
Georges Racinet authored
Technically, these are not globs, but it felt right to put them here. This is used in protected branches, hence in method to push to remote mirrors.
-
Georges Racinet authored
Of course we are obfuscating `ssh_key` and even `ssh_known_hosts`, but we do not consider `ssh_remote_command` to be sensitive (and it can probably help with debugging when it gets used besides in tests)
-
- Dec 30, 2024
-
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
Ensuring special refs from the Git repository was esssential when we were setting up the very idea of native Mercurial projects, and is now quite obsolete for the latter. As of Heptapod 17.6.0, native Mercurial projects do not have a Git repository lying next to the Mercurial repository. It is possible that they still have a Git repository in `+hgitaly/hg-git`, but it should not be considered a source of refs. This change prevents the buggy attempt to ensure special refs for native Projects
-
- Dec 24, 2024
-
-
Georges Racinet authored
-
Georges Racinet authored
There was a conflict in `install-requirements.txt`, because of 283d8b52deaf. We take the opportunity to restrict further, avoiding the future versions for Heptapod 17.7, and this should be done systematically.
-
- Dec 23, 2024
-
-
Georges Racinet authored
-
Georges Racinet authored
-
Georges Racinet authored
-