Editing User:Jaffa/mud design
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | With the new [[Extras repository process definition|extras process]], [http://mud-builder | + | With the new [[Extras repository process definition|extras process]], [http://mud-builder-garage.maemo.org/ mud-builder] should be re-focused[https://garage.maemo.org/pipermail/mud-builder-users/2008-June/000255.html] and re-invigorated to help packaging in accordance with the Maemo Packaging Policy[https://maemo.org/forrest-images/pdf/maemo-policy.pdf] and [[Uploading to extras]]. |
== Requirements == | == Requirements == | ||
- | + | * Any package patched, or not from a existing deb source, needs to have a ''maemo'' version suffix. | |
- | + | ** For example, if the base version is 7.0, the package version from mud should be '''7.0-0maemo1''' for the first upload, '''7.0-0maemo2''' for the second, etc. | |
- | + | ** If the upstream package comes from Debian (with version 3.5-7) and is unpatched, the package uploaded from mud is also '''3.5-7'''. | |
- | + | ** If the upstream package comes from Debian (with version 3.5-7) and ''is'' patched, the package uploaded from mud is '''3.5-7maemo1''' for the first upload, '''3.5-7maemo2''' for the second, etc. | |
- | + | * Warnings should be given when uploading a package with "Section: user/(.*)" where <code>$1</code> is not in the accepted list. | |
- | + | * It is an error to try and upload a package with no description. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
* Auto-sign & upload to ...-extras-builder in one-step | * Auto-sign & upload to ...-extras-builder in one-step | ||
- | ** Use scp to upload all the files, uploading .changes and .dsc ''last'', to avoid auto-builder issues (driven by .dsc files | + | ** Use scp to upload all the files, uploading .changes and .dsc ''last'', to avoid auto-builder issues (driven by .dsc files) |
- | * | + | * Automate creation of projects. |
+ | * Take URL of upstream source deb info page (fish out .dsc, .diff.gz and .tar.gz). | ||
+ | * Take URL of upstream tarball. | ||
+ | * Provide easy in-life management, e.g. changelogs. | ||
== Examples == | == Examples == | ||
Line 40: | Line 36: | ||
== Workflow == | == Workflow == | ||
- | |||
- | |||
TBC | TBC | ||
== Internals == | == Internals == | ||
- | + | Awaiting consensus on usage. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
=== Install steps === | === Install steps === | ||
+ | # Ensure mmap given permission in host OS. | ||
# Add extras and extras-devel to /etc/apt/sources.list.d in Scratchbox | # Add extras and extras-devel to /etc/apt/sources.list.d in Scratchbox | ||
# Install mud. | # Install mud. | ||
Line 82: | Line 48: | ||
For example: | For example: | ||
+ | echo 4096 | sudo tee /proc/sys/vm/mmap_min_addr | ||
/scratchbox/login | /scratchbox/login | ||
for j in '' '-src'; do for i in '' '-devel'; do | for j in '' '-src'; do for i in '' '-devel'; do | ||
Line 91: | Line 58: | ||
GPG_KEY=FC11178D | GPG_KEY=FC11178D | ||
EOM | EOM | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.