Corrige un bug empêchant l'atelier de fonctionner après renommage du dépôt dans GitLab ou ScribouGit - #322
Open
mlbiche wants to merge 5 commits into
Open
Corrige un bug empêchant l'atelier de fonctionner après renommage du dépôt dans GitLab ou ScribouGit#322mlbiche wants to merge 5 commits into
mlbiche wants to merge 5 commits into
Conversation
Introduce a repoPath concept based on the repository name in GitHub and the repository path in GitLab
…ils for preparing forked repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cette PR corrige un bug empêchant l'atelier de fonctionner après renommage du dépôt dans GitLab ou ScribouGit.
En effet, le renommage du dépôt met à jour l'attribute
namedans l'objet retourné par l'API de GitLab mais cette valeur ne correspond plus à la valeur qui permet de construire l'URL vers le dépôt (qui est l'attributpath).En mettant le nez pour la première fois dans le code, j'ai pris soin de proposer des modifications et des ajouts là où le README n'était pas clair pour moi.
De même, j'ai fait un peu de nettoyage dans le code que j'ai pu croiser au cours de mon développement, là où le code était mort ou redondant avec du code existant.
Un bug au raffraichissement de l'atelier est aussi corrigé.
J'ai découpé chaque bidule dans un commit dédié pour faciliter la relecture et éventuellement découper la PR si besoin.
Reste une chose floue pour moi : je n'ai pas bien compris l'instruction dans le README concernant les PR avec le déploiement de l'atelier. Sur mon fork, faut-il que je fusionne la branche
fix-repository-urldans la brancheonlinepour que vous puissiez avoir les modifications disponibles en ligne ? 🤔