On Monday 2. April 2018 18.32, Christoph Lechleitner wrote:
> Am 02.04.18 um 15:31 schrieb Johnny A. Solbu:
> > Debian provides tools available for automatically checking for the latest version, download it, apply any patches and declare it ready for build.
>
> What's that tool's name?
uscan and uupdate
When we check for new version of a package, we just run «uscan» in the package folder (i.e. where the «debian/» folder resides)
It's magic is done using the debian/watch file.
This is the line we use to update oidentd for it's new upstream Github repo:
==
version=3
https://github.com/janikrabe/oidentd/releases .*/oidentd-(\d\S*)\.tar\.gz debian uupdate
==
> I didn't read up in this area for many years, because I didn't have to ;-)
> We don't do re-packaging often, but only if we have to.
We do the same, we only update packages when we must. Sometimes to get new functionality that we want,
> > It is this process Debian packagers use for updating package sources.
> > We do this on our public local repo, for our servers.
>
> How public?
>
> Asking for a friend ;-)
https://www.kristshell.net/debian/
If it's interesting, I also have a few public rpm repos (I am a packager for Mageia)
https://www.solbu.net/progs/rpms/
Feel free to use any of them. :-)
We have squeeze, wheezy and jessie «codenames» in that repo.
The easy way to install that repo is by installing this package:
https://www.kristshell.net/debian/pool/main/k/kristshell-repo/kristshell-repo_1.3_all.deb
That package will set up the lines below in sources.list.d/kristshell.list, and add our repo key.
==
deb http://login.kristshell.net/debian jessie main
deb-src http://login.kristshell.net/debian jessie main
==
Also, if you «dget https://www.kristshell.net/debian/pool/main/k/kristshell-repo/kristshell-repo_1.3.dsc»
it will fetch and unpack the source that we use for easy updating our repo accross all servers.
So if we need to move the repo, we just update that package and all servers will switch on next package updates.
it is also easy to properly setup our repo on new servers.
--
Johnny A. Solbu
web site, http://www.solbu.net
PGP key ID: 0x4F5AD64DFA687324
|