|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 24.81 GB of 70.42 GB (35.23%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
share/
doc/
initramfs-tools/
- drwxr-xr-x
|
Viewing file: maintainer-notes.html (9.72 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
Maintainer documentation for initramfs-tools
Maintainer documentation for initramfs-tools
NOTE: The most recent version of this document is available at
docs/maintainer-notes.html in the the git repository
or online at git.debian.org.
$mailaddress: | mailaddress of the user |
$username: | name of the alioth account |
$version: | version string |
$yourname: | your fullname |
- Install required software (notice: git is named git-core on Debian/oldstable):
# apt-get install git git-buildpackage dpkg-dev
- Set environment variables (e.g. through your ~/.bashrc or ~/.zshrc) for devscripts (git dch):
export DEBEMAIL=$mailaddress
export DEBFULLNAME=$yourname
- Set user name and email address for git (drop the --global option to use configuration per-repo basis):
% git config --global user.name "$yourname"
% git config --global user.email "$mailaddress"
- Checkout repository (anonymous):
% git clone git://git.debian.org/git/kernel/initramfs-tools.git
% cd initramfs-tools
- Checkout repository (with developer access):
% git clone ssh://$username @git.debian.org/git/kernel/initramfs-tools.git
% cd initramfs-tools
- Checkout new branch and switch to it:
% git checkout -b $username /short-descr-of-new-feature
- Hack and commit work:
% $EDITOR $somefile
% git add $somefile
% git commit -s
NOTE: Use 'Closes: #BUGID' for closing a bugreport and 'Thanks: Fullname
<mailaddress >' for giving credits in your commit message. git dch will use
this information for generating the changelog using the --meta option later
on.
- Finally push your branch to alioth:
% git push origin $username /short-descr-of-new-feature
- Switch to the branch you want to merge:
% git checkout $username /new-feature
- Rebase to master:
% git rebase master
- Switch to master branch and merge:
% git checkout master
% git merge $username /new-feature
- Push:
% git push
- After branch is merged delete branch on server and locally:
% git push origin :$username /short-descr-of-new-feature
% git branch -d $username /short-descr-of-new-feature
- If a branch is removed from the server it will stay locally. You can get of
any stale remote branches locally by executing:
% git remote prune origin
- Checkout a specific branch iff branch is not already present locally:
% git checkout -b somename/short-descr-of-new-feature origin/somename/short-descr-of-new-feature
- Checkout a specific branch iff branch is already present locally:
% git checkout -b somename/short-descr-of-new-feature
- Adjust debian/changelog accordingly:
% git dch --debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" \
--since="v$(dpkg-parsechangelog | awk '/^Version:/ {print $2}')" -S --id-length=7 --meta --multimaint-merge
- Build package:
% git buildpackage --git-ignore-new --git-debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" -tc
- Adjust debian/changelog accordingly:
% git dch --debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" \
--since="v$(dpkg-parsechangelog | awk '/^Version:/ {print $2}')" -S --id-length=7 --meta --multimaint-merge
- Build package:
% git buildpackage --git-debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" -tc [-us -uc]
- Create patch:
% git format-patch -s -p origin/master
- Send patch file(s) to maintainers via mail (requires Debian package git-email):
% git send-email --to=initramfs-tools@packages.debian.org $PATCHFILE[S]
- The development mailinglists are debian-kernel@lists.debian.org
and initramfs@vger.kernel.org.
Discussion of features, bugs and patches are more than welcome on one
of these lists.
- Creating changelog:
% git dch --debian-branch master --release --since HASH
or more dynamically:
% git dch --meta --release --since v$(dpkg-parsechangelog | awk '/^Version:/ {print $2}') --debian-branch="$(git branch | awk -F\*\ '/^* / { print $2}' )" --id-length=7 --meta --multimaint-merge
NOTE: we do not use history based sorting for the changelog entries but
sort them by author.
- Releasing:
% git commit -a -s -m "Releasing version $version ."
- Tagging:
% git tag -s v"$version " -m "release $version "
- Pushing:
% git push
% git push --tags
- Build in chroot and upload to ftp-master.
- Send mail announcing the new initramfs-tools version with subject
"initramfs-tools $VERSION release" to initramfs@vger.kernel.org,
debian-kernel@lists.debian.org + kernel-team@lists.ubuntu.com - including a
shortlog (generated through "git shortlog $TAG..").
- This document is licensed under GPL v2 or any later version.
-- Michael Prokop <mika@debian.org>
|