|
From: | Doug Stewart |
Subject: | Re: step by step guide to update code in a package |
Date: | Sun, 12 Aug 2018 16:07:42 -0400 |
Thanks in advance,Hi,Based on information from the wikiI am trying to update some code in certain functions in the 'control' package of Octave.
- I cloned the control package repository using mercurial.
- I made a commit to my local repository to have a save state to go back to.
- I modified the relevant .m file.
- The main Makefile has an option to build ('all'), check ('check') and run Octave ('run') with the modified files.
- The 'run' option in the Makefile however opens octave in no-gui mode. But the changes I made have to do with figures and plotting.
- So, I opened Ocatve separately and 'addpath()' both 'inst' and 'src' folders in my local repository.
- Upon trying to run some scripts to test, Octave complained of missing functions.
- So, I copied the 'PKG_ADD' file containing the 'autoload()' functions from the released package folder ('/usr/lib/x86_64-linux-gnu/octave/packages/control-3.0.0/x86_64-pc-linux-gnu-api-v51') to my local repository.
- I tested my modifications.
- I committed the modifications to my local repository.
- ???
Questions
- Is there a STEP BY STEP tutorial or guide for package modification?
- Is there some established WORKFLOW for package modification? (steps 6 and 8 above don't seem proper)
- I want to know if the steps 1-9 above are correct and what to do next to submit the changes to the package maintainers.
[Prev in Thread] | Current Thread | [Next in Thread] |