-
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
added fuel update command #185
Conversation
Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com>
Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com>
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 know this is a draft PR but I added some comments
Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com>
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.
This looks like a good direction. A few high-level comments:
- Add support for the
--header
command line option, which will allow updating of private resources. - You should use ServerConfig to instead of hardcoding the fuel URL. A pattern you can follow is here: https://github.com/ignitionrobotics/ign-fuel-tools/blob/ign-fuel-tools6/src/ign.cc#L294
Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com>
@nkoenig I don't think I even need to have the URL anywhere. After looking into it, I think the identifier for each model and world has the URL inside, so I can just make the client download it from there, am I right? edit* WorldDownload does not seem to support header, does that mean that it does not use header or that it needs to be fed the header in another way? |
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
* Owner upload (#179) Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Louise Poubel <louise@openrobotics.org> * Fixed windows download (#178) * Fixed donwload on Windows Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed interface_TEST Signed-off-by: ahcorde <ahcorde@gmail.com> * Improved windows support Signed-off-by: ahcorde <ahcorde@gmail.com> * Make linters happy Signed-off-by: ahcorde <ahcorde@gmail.com> * Make linters happy Signed-off-by: ahcorde <ahcorde@gmail.com> * Improved Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed test on Windows Signed-off-by: Alejandro Hernández <ahcorde@gmail.com> * Fixed test Signed-off-by: ahcorde <ahcorde@gmail.com> * Fix some nits Signed-off-by: ahcorde <ahcorde@gmail.com> * Improved Windows support Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed test on Linux Signed-off-by: ahcorde <ahcorde@gmail.com> * make linters happy Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed windows tests Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed tests Signed-off-by: ahcorde <ahcorde@gmail.com> * Added feddback Signed-off-by: ahcorde <ahcorde@gmail.com> * make linters happy Signed-off-by: ahcorde <ahcorde@gmail.com> * Remove tools/code_check and update codecov (#187) Signed-off-by: Louise Poubel <louise@openrobotics.org> * added fuel update command (#185) * added fuel update command Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * fixed header Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * fixed build Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * updated docs Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * added header Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * fix Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * nit2 Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com> * Style, and headers Signed-off-by: Nate Koenig <nate@openrobotics.org> * Fixed world download Signed-off-by: Nate Koenig <nate@openrobotics.org> * Removed debug Signed-off-by: Nate Koenig <nate@openrobotics.org> * Fix tests Signed-off-by: Nate Koenig <nate@openrobotics.org> * Fix windows Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> * 🎈 4.4.0 (#190) Signed-off-by: Louise Poubel <louise@openrobotics.org> * Detect ign instead of using cmake module to check for ignition-tools (#191) Signed-off-by: Louise Poubel <louise@openrobotics.org> Co-authored-by: Nate Koenig <nkoenig@users.noreply.github.com> Co-authored-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Louise Poubel <louise@openrobotics.org> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Jose Tomas Lorente <jtlorente@ekumenlabs.com> Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org>
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1 |
Signed-off-by: Tomas Lorente jtlorente@ekumenlabs.com
🎉 New feature
Update command for fuel
Summary
ign fuel update
, supports --onlymodels and --onlyworlds to select if you only want to download one of those. By default downloads both.Test it
Download a model or a world, modify that one in fuel to up the version, call the command and see it update.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge