working the wiki (was: Building src.rpm from git/svn)

2009-06-16 Thread martin f krafft
also sprach Sam Liddicott  [2009.06.09.1716 +0200]:
> I promised this a while ago but it was too hard to work the wiki
[...]
> The svn backend is less developed, as I am not so familiar with
> svn as I am with git
[...]

Sign up for an account on alioth.debian.org, let me know, and then
you can clone from and push to
ssh://git.debian.org/git/vcs-pkg/ikiwiki.git to change the wiki.

But I know what you mean. Ikiwiki is not ideal I think. Does anyone
have any non-PHP alternative suggestions? The thing I like about
Ikiwiki is that the content is also available as plain-text, rather
than some sort of unusable, internal format (e.g. MoinMoin or
Wikimedia).

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"the liar at any rate recognises that recreation, not instruction, is
 the aim of conversation, and is a far more civilised being than the
 blockhead who loudly expresses his disbelief in a story which is told
 simply for the amusement of the company."
-- oscar wilde


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss


Re: Building src.rpm from git/svn

2009-06-09 Thread Sam Liddicott
I ought to have given an example; with samba4 I build talloc and tdb as
seperate sub packages; in my talloc.spec I have some extra lines:

#makesrpm-RELEASE: HEAD

#makesrpm-ORIGIN_PATTERN: release-4*alpha*

#makesrpm-SOURCE_PATHS: lib/talloc lib/replace

%define dirname %makesrpm_tarprefix


and the generate spec file (partly based on the invocation of make-srpm
from the samba makefile) looks like this:

%define version_info 2df18b4 1244465917 
2df18b4437e7df2050f806339133db141ff4f4ec Mon Jun 8 13:58:37 2009 +0100

%define tarball_name %makesrpm_tarprefix

%define main_release 5

%define alpha_version 8-GIT-2df18b4

%define samba_version 4.0.0alpha8-GIT-2df18b4

%define makesrpm_tarname libtalloc-release-4-0-0alpha7.tar.gz

%define makesrpm_tarprefix libtalloc-release-4-0-0alpha7

#makesrpm-RELEASE: HEAD

#makesrpm-ORIGIN_PATTERN: release-4*alpha*

#makesrpm-SOURCE_PATHS: lib/talloc lib/replace

%define dirname %makesrpm_tarprefix


the makefile invocation of make-srpm is something actually quite
horrible as it has to link in with samba4's version generating scripts.

Sam

___
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss


Building src.rpm from git/svn

2009-06-09 Thread Sam Liddicott
I promised this a while ago but it was too hard to work the wiki, so I'm
using repo.or.cz which is perhaps better suited to the purpose.

Here (http://repo.or.cz/w/make-srpm.git) are some scripts which I use to
produce a src.rpm from a git tree. In accordance with rpm philosphy, a
/pristine source/ tar.gz is produced, with a series of patches up to the
current released.

The svn backend is less developed, as I am not so familiar with svn as I
am with git, but it works enough for my use with the openchange
 project.

The general usage is:

make-srpm [options] project.spec [...]

The operation of make-srpm is generally controlled by shell variables
which may be set explicitly in the environment before calling make-srpm,
or specified as command arguments in makefile fashion; e.g.

make-srpm *ORIGIN_PATTERN="*alpha*"* project.spec

or from within the specfile from specially formed comments.

spec file macros can also be defined, even in terms of values computed
during execution.

I use make-srpm for packaging samba4 and openchange.

Full details here: http://repo.or.cz/w/make-srpm.git

Sam
___
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss