Hi everybody, I decided to contribute to Cobbler project. I have a few questions and hopefully somebody will kindly answer them.
1. I think I managed to set up basic development environment. I cloned git repo from github, then I ran make install and make webtest. Did some additional fixes and now when I type localhost/cobbler in my webbrowser everything seems to be OK. I get no errors. If I want to do patching do I have to install any other services or do I have to do any additional configuration?
2. Do I correctly assume that working on a feature on my local machine involves the following steps: - make changes in the source code - run make install - run make webtest - checkout results in webbrowser Are these steps OK? Are there any additional steps?
3. I would like to read and study the source code. What is the best way to start? With which file should I start?
4. Are there any additional tips how to get started besides those mentioned at the homepage.
Since beginning is always the hardest part I would really appreciate if I could get some answers to the above questions. Thank you guys for help.
Janez Nemanic
Best regards
On 21.10.2013 [14:02:27 +0200], Janez Nemanic wrote:
Hi everybody, I decided to contribute to Cobbler project. I have a few questions and hopefully somebody will kindly answer them.
- I think I managed to set up basic development environment. I cloned git repo from github, then I ran make install and make webtest. Did some additional fixes and now when I type localhost/cobbler in my webbrowser everything seems to be OK. I get no errors.
If I want to do patching do I have to install any other services or do I have to do any additional configuration?
- Do I correctly assume that working on a feature on my local machine involves the following steps:
- make changes in the source code
- run make install
- run make webtest
- checkout results in webbrowser
Are these steps OK? Are there any additional steps?
I don't think you need to run `make install`. `make webtest` does everything you need and doesn't overwrite your configuration. You might need to run a `cobbler sync` afterwards, depending on what you're working on.
The web interface is only one way to access Cobbler. You probably also need to test the CLI as well as possible any XML-RPC interactions.
- I would like to read and study the source code. What is the best
way to start? With which file should I start?
I would suggest starting with whatever interests you or what you are looking to change/improve -- you will then be forced to figure out what the APIs are that you're looking at, etc. Coding isn't always top-down (at least in my experience) -- dive in and you will learn more, I think.
Thanks, Nish
cobbler-devel@lists.fedorahosted.org