Add functionality to copy existing build configuration to a new build#222
Add functionality to copy existing build configuration to a new build#222shiv-tyagi merged 2 commits intoArduPilot:mainfrom
Conversation
|
I just tried it out on the beta server, this is AWESOME!!! I thin this feature will be huge, I know for me it will be super helpful. Thanks! Is there a way I can save this rebuild configuration locally incase it takes me longer 24h to try something out and need to change the rebuild? |
|
I am glad that you liked it @thespova. Using a config file to select options has been a thing in my todo list for long. It needs a lot of things to be in line for the feature to be robust and reliable. I am fixing things step by step (like my recent PR to organise our API). You might see the feature implemented soon. Till then as a workaround, you can send POST requests with your choices directly to the /builds api endpoint. That way you can save your request body somewhere and use it to repeat requests. See /api/docs for API documentation. But this is non-GUI way totally which might not be what you are looking for. |
Closes #193
This adds the functionality to base a new build on the configuration of an existing build. We add a "Copy and rebuild" button next to each build in build table and take user to the add build page where the same options get auto selected while loading the page.
I have also added necessary validations to ensure the existing build vehicle, version and boards are still listed there. If not, we show an alert to the user and redirect to the same page with default selections.
I have set the custom-beta to run this.
