Skip to content
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

Update the documentation for setting up dev environment for Ubuntu #1207

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

minh-de-rien
Copy link
Contributor

@minh-de-rien minh-de-rien commented Jan 21, 2025

Update the documentation for setting up dev environment for Ubuntu 24.04 located in the docs folder

  • This file has been renamed, from setupDevEnvironmentUbuntu20.04.md to setupDevEnvironmentUbuntu.md
  • The setup instructions for the development environment have been updated and tested on Ubuntu 24.04
  • Updates primarily pertain to the following sections: Install OSRM, Install trRouting, Install Transition and Download and prepare the road network

Copy link
Collaborator

@tahini tahini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci pour cette mise à jour. Il y aurait quelques petits changements à apporter. Aussi, la branche a 4 commits, donc 2 merge commits, il faudrait éviter ça. Nous avons des branches linéaires, donc on encourage l'utilisation du rebase plutôt que des merge commits. Pour régler ça, vous pouvez commencer par faire un rebase sur la branche main d'upstream (git rebase main en supposant que main est sur l'upstream, mais comme votre branche se nomme aussi main, faites attention). Ensuite, un rebase interactif vous permettra de combiner les commits restants (git rebase -i HEAD~3 par exemple).

git checkout <to the commit before the last>
```

In CMakeList.txt, comment these lines
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ici, il serait préférable de dire que si l'erreur "blabla" survient à la compilation. Vous pouvez ajouter un lien à cet issue, que j'ai enfin retrouvé: Project-OSRM/osrm-backend#6704 et qui explique le workaround que vous mentionnez, mais en mettant le lien à l'issue on pourra éventuellement voir si c'est réglé.

yarn migrate
yarn create-user
```
When creating a user, provide an email address as a backup in case the userID doesn't work
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Que voulez-vous dire par "in case the userID doesn't work"? Plutôt "in case of login failure, to get a new password". Aussi, le ton pourrait être moins impératif "you may provide an email"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, c'était bien un login failure. Après avoir créé mon utilisateur, je n'arrivais pas à me connecter avec le userID, mais ça fonctionnait en utilisant l'adresse courriel. J'ai ajusté la documentation!

@greenscientist
Copy link
Collaborator

Suggestions pour le commit message:
Dire que le fichier a été renommé
Dire que les instructions ont été mise à jour pour ubuntu 24...
et préciser si il y a des sections particulières de plus.

Copy link
Collaborator

@tahini tahini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est bon, vous pouvez mettre à jour le commit message considérant les commentaires de Yannick. Sinon, pour le contenu, c'est parfait

@minh-de-rien minh-de-rien force-pushed the main branch 2 times, most recently from 2e40f5d to 644758e Compare January 29, 2025 22:30
@kaligrafy
Copy link
Collaborator

Prêt à merger?

@kaligrafy kaligrafy requested a review from tahini February 6, 2025 13:36
Copy link
Collaborator

@greenscientist greenscientist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaligrafy tu as ajouté un merge commit dans la branche

@kaligrafy
Copy link
Collaborator

kaligrafy commented Feb 6, 2025

Juste utilisé le bouton automatique de github comme on fait souvent non?

@greenscientist
Copy link
Collaborator

Juste utilisé le bouton automatique de github comme on fait souvent non?

Tu n'as probablement pas vérifier si c'était rebase ou merge.

@tahini
Copy link
Collaborator

tahini commented Feb 6, 2025

Il restait à mettre à jour le commit message avec les informations demandées

@minh-de-rien
Copy link
Contributor Author

Il restait à mettre à jour le commit message avec les informations demandées

Normalement, je l'ai mis à jour! Est-ce que je devrais les inclure directement dans le nom du commit?
image

@tahini
Copy link
Collaborator

tahini commented Feb 6, 2025

Normalement, je l'ai mis à jour! Est-ce que je devrais les inclure directement dans le nom du commit?

En fait, c'est plutôt dans le commit message qu'il aurait fallu mettre à jour, mais peut-être qu'avec un squash and merge, je peux éditer le commit final

@tahini tahini dismissed greenscientist’s stale review February 6, 2025 17:15

branche was pushed again

@tahini tahini merged commit 7b55bee into chairemobilite:main Feb 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants