-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix Nixinova submodule issues #5292
Fix Nixinova submodule issues #5292
Conversation
A more descriptive title for this PR would be |
Erh, why not rename your repository to |
That's what I suggested to him in the original issue, twice.
Not really, as I mentioned in the issue and in the description, the main problem with current master branch is that when someone tries to add a new grammar, it deletes your grammar because it was not added properly using script/add-grammar script. When we do try to add your grammar using script/add-grammar script, the first error we hit is because the sub-submodule in your repo was pointing to wrong URL which was fixed by Nixinova/NovaGrammars#2. The next issue was linguist compiler gives 10+ fatal errors which were fixed by Nixinova/NovaGrammars#4. Now the upstream PRs are merged, this PR is potentially updating the submodule to fix the repo state. So the title makes sense to me. |
Well, there aren't any other repos in this called |
Thanks for this @am11. As with @Alhadis, I'm not keen on allowing peeps to break the consistency between a repository's name and its submodule name as used by Linguist as it adds unnecessary complexity when trying to track problems down.
Indeed, however I'd much rather have you rename to a less-generic name which has less risk of clashing or causing confusion. |
@lildude, agreed; that was my first preference as well. I will update the PR when the repo is renamed. |
Okay, fine, renamed my repo |
4503d51
to
ef80924
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had changed the repo name again to Nova.tmLanguage
while you were doing this.
or
otherwise timestamps and passing CI make no sense |
It was changed literally 10sec later. See above, at how Nixinova/NovaGrammars#5 is located above your commit. |
|
Not sure why you deleted your old comment as that would've been what happened. |
It was not relevant to your 10sec comment, which I read after the page refresh. The difference was one hour not 10 sec. |
@am11 would you mind updating this PR for the final new repo name? |
8d4d02e
to
eb40644
Compare
I think you need to pull master into your branch as you appear to be missing the NimLime grammar change just merged. |
eb40644
to
aca29cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely! Thanks all. 🙇
Description
Nixinova submodule was manually added without using script, which results in it getting deleted from .gitmodules and grammers.yml files when other languages are added or deleted
Also added a second positional argument in script/add-grammer, to override the repository name. In this case repo name istmLanguage
and the intended name isNixinova-tmLanguage
.Exact command used (after deinit the exiting submodule):
Fixes #5291
Checklist: