-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox Git not properly setup for contributing #423
Comments
@rugk I am sorry to hear this, thank you very much for taking the time to tell us about this issue.
Do you know if we need to update |
I just follow the official guide and so it recommends And no, I have no idea… 😆 |
@rugk Looking over the last commit message (a few days after the one I shared above), looks like it addresses an issue related to A temporary solution could be to try to compile it in your own container from the instructions, I think these are the ones https://secure.phabricator.com/book/phabricator/article/arcanist/#installing-arcanist. |
Yeah, now cloned the latest patched version:
Nevertheless that should obviously already be provided in the container – I mean that's the whole sense of it, so you do not need to set it up by yourself. |
@rugk Please let us know if that rectifies the issue. |
Okay, strange, I get the same issue. But I certainly cloned the patched version. With
|
@rugk Did you follow the instructions for setting it up for |
Ugh, so this git is also not setup? At your link there are only instructions for |
@rugk |
Yeah, I am at it… docs are at https://github.com/glandium/git-cinnabar#setup |
🤔 |
Finally just created a new hg container to submit these changes, but yeah… the git container is definitively not completely setup… But BTW, thanks for your help, @Coder206 . |
Thanks @Coder206 for looking into this! And sorry @rugk for the bad experience. In fact, it's simply arc arbitrarily refusing to work because it sees a Git repository, but you can "convince" it to work by hacking it like so (in diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php
index c7149bd1..b901ff4c 100644
--- a/src/repository/api/ArcanistGitAPI.php
+++ b/src/repository/api/ArcanistGitAPI.php
@@ -48,7 +48,7 @@ public function execPassthru($pattern /* , ... */) {
public function getSourceControlSystemName() {
- return 'git';
+ return 'hg';
}
public function getGitVersion() {
P.S. Sorry for the very bad experience with |
That's not really documented anywhere (at least the starting docs I've looked at and linked here several times already), and the recommend way now seems to be |
I agree, and I'm sorry about the confusing contribution experience! We should really aim to make things as simple and streamlined as possible. For what it's worth, I'm not quite sure why Mozilla decided to also build Git-support into Let's have both available in Janitor containers. 😄 That seems to be a good compromise. |
When running
arc diff
in the Firefox git, I get:Maybe the wrong (unpatched)
arc
version is installed?It is very bad to discover that, after you've made your patch ready and are almost finished. 😢
The text was updated successfully, but these errors were encountered: