V
V
Valeriy Solovyov2014-08-18 14:58:05
git
Valeriy Solovyov, 2014-08-18 14:58:05

How to build a package from your git repository under Debian/Ubuntu?

Hello everyone
There are git repositories with scripts, binaries, libraries, rebuilt kernels. There are 200+ servers on several Ubuntu&Debian versions.
Now the update comes via scripts + git .
There is a desire to establish a normal auto-assembly of packages and laying it out in the local repository (reprepro).
First I rushed to parse git log --pretty=format:"%h - %ae, %ad : %s" in debian/changelog. But then I thought that it is possible not to create a bicycle. I just can't find anything.
Question: how to build a package from my git repository under Debian/Ubuntu? If there is only the contents of the package and it is not in the archive?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
brutal_lobster, 2014-08-21
@brutal_lobster

What you need is called continuous integration/delivery.
Take any CI server and read its documentation. The CI server will track changes in the git repositories, run the necessary tests on the change, build the package and upload it where necessary.
For example:
jenkins-ci.org
https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Debian...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question