packages from bitbucket
Christopher Meng
cickumqt at gmail.com
Sun Mar 2 15:16:52 UTC 2014
On Sun, Mar 2, 2014 at 9:04 PM, Dridi Boukelmoune
<dridi.boukelmoune at gmail.com> wrote:
> Hi,
>
> Maybe we should add guidelines for bitbucket. That could be very
> similar to github's template:
>
> ===
> %global owner $OWNER
> %global tag $TAG
> %global commit $COMMIT
> %global shortcommit %(c=%{commit}; echo ${c:0:12})
>
> ...
>
> Source0: https://bitbucket.org/%{owner}/%{name}/get/%{tag}.tar.gz
>
> ...
>
> %prep
> %setup -qn %{owner}-%{name}-%{shortcommit}
> ===
>
> I have tested this sucessfully with one (mercurial) package where $TAG
> is %{version}.
>
> What do you think ?
It's acceptable, only.
We should teach SCM to work with VCS instead of writing lines of
things which need to be updated everytime.
More information about the devel
mailing list