The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
User:Sledge/Nemo/Development
From Mer Wiki
Packaging best practises - WIP - please comment/edit
| Where is the .yaml/.spec ? | Where is the source code? | ||
| |
github.com/nemomobile (nemo is upstream) |
Any public git repository (upstream is not nemo) |
Not in git (tarball, svn, ...) |
| under ./rpm/ | tar_git |
then what? |
N/A |
| github.com/nemomobile-packages | N/A |
N/A | git_subtree |
| under pkg-mer branch | git_pkg | git_pkg | N/A |
How to package upstream tarballs (no vcs) for github.com/nemomobile-packages with git subtree
git clone git@github.com:nemomobile-packages/uthash.git
cd uthash
git commit --allow-empty -m "initial commit"
git checkout -B upstream
tar -xvf ../uthash-1.9.4.tar.bz2 --strip-components=1
git add -A
git commit -a -m "import from upstram tarball uthash-1.9.4.tar.bz2"
git tag upstream/1.9.4
# OPTIONALLY use pristine tar to record any delta for later reproducing EXACTLY same tarball
pristine-tar commit ../uthash-1.9.4.tar.bz2
git checkout master
git subtree add --squash --prefix=uthash upstream
mkdir rpm
cp /somewhere/packaging/uthash.spec rpm/
#modify spec to do %setup -q -n %{name}-%{version}/%{name}
git add -A
git commit -a -m "[packaging] add rpm packaging"
git tag nemo/1.9.4
git push --all
gut push --tags