-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
DietPi-Software | Explain how to add new installations to the sourcecode (for contributors) #490
Comments
Adding new software to DietPi-Software.For this example we will add Owncloud to DietPi-Software:To get a full list of current DietPi-Software installation options:
Obtain a unique installation Index for this software:Run the following command, make a note of this number.
A unique Index of Choose a category index for the softwarehttps://github.com/Fourdee/DietPi/blob/96dbdc5b39957872e8e7d4230e0d25d7d8f8e765/dietpi/dietpi-software#L265-L283
Check pre-reqs. Does it require other software to be installed?:https://github.com/Fourdee/DietPi/blob/96dbdc5b39957872e8e7d4230e0d25d7d8f8e765/dietpi/dietpi-software#L357-L368
Add the new Owncloud entry:You should end up with the entry below: NB: By default, all installation options are enabled for all devices Example: disable the installation option for non-RPi devices Example: disable the installation option for Add the installation code:Inside function Add the configuration code:Inside function Thats it. |
+ Soruce code contribs, add software to dietpi-software: https://github.com/Fourdee/DietPi/issues/490
Note to others you can use FTPs to transfer your edited files into an existing Dietpi installs in for testing purposes. An alternative to using your own get repository testing branch. @Fourdee |
Bash / Unix Shell. As for debugging bash, the only one I know and use is: http://www.shellcheck.net/ |
|
@svh1985 |
Note: |
Many thanks. With last DietPi update, it has changed quite a bit. I'll update that page. |
I guess whole wiki section we would need to rework. https://github.com/MichaIng/DietPi/wiki/How-to-add-a-new-software-title |
I'm currently updating the Wiki. I think for now it's okay to keep such contributor/dev infos in the Wiki, as there is no developer section in the docs. EDIT: Done: https://github.com/MichaIng/DietPi/wiki/How-to-add-a-new-software-title |
As per @zone22's suggestion: https://github.com/Fourdee/DietPi/issues/168#issuecomment-244120375
The text was updated successfully, but these errors were encountered: