Commit graph

37 commits

Author SHA1 Message Date
Jan Wagner 087b55ca0a Fix build artifacts move
As you can build multiple binary packages from one source package, those
don't need to have the same name. You can even build only one binary
package which has a completely different name.
The saves way is to match on the package version number.
2021-03-11 14:33:45 +01:00
Dawid Dziurla c8bb3a8097
main: remove -tc flag from dpkg-buildpackage 2021-01-02 23:27:33 +01:00
Dawid Dziurla 0db3597f3e
main: remove debug exec 2020-12-26 18:32:45 +01:00
Dawid Dziurla d5f27fec3a
main: fix 2020-12-26 18:15:06 +01:00
Dawid Dziurla 48ebbf1c81
main: attempt to fix 2020-12-26 18:12:27 +01:00
Dawid Dziurla e5356aca21
main: debug 2020-12-26 18:08:49 +01:00
Dawid Dziurla 6d3065e17e
main: fix exec syntax 2020-12-26 18:00:53 +01:00
Dawid Dziurla 147656c479
main: prepare environment
Non interactive dpkg and apt
2020-12-26 17:34:57 +01:00
Dawid Dziurla c84039fd8e
main: install devscripts too 2020-12-26 17:17:46 +01:00
Dawid Dziurla 75e45aab50
main: run debi and debc 2020-12-26 17:13:03 +01:00
Dawid Dziurla 4d5a705a8d
main: save container to state 2020-12-09 23:07:04 +01:00
Dawid Dziurla e535e3a99c
main: support debian backports 2020-11-12 17:47:22 +01:00
Jan Wagner 32dba72991 Symlinks are transformed as well, which leads into broken symlinks.
Adding the correct transformation scope flags here.

https://www.gnu.org/software/tar/manual/html_section/tar_51.html
mentions a way to fix this:

```
In addition, several transformation scope flags are supported, that control to what files transformations apply. These are:

[...]

`S'
Do not apply transformation to symbolic link targets.
```
2020-11-08 19:40:45 +01:00
Dawid Dziurla 8164ce3d66
main: provide default input values 2020-07-25 12:29:47 +02:00
Dawid Dziurla c25f686c2d
main: mv all artifacts 2020-03-27 00:29:02 +01:00
Dawid Dziurla a4de79d970
main: fix regex 2020-03-26 18:58:33 +01:00
Dawid Dziurla 1db5ce66c0
main: restrict epoch to only numbers 2020-03-26 18:47:10 +01:00
Dawid Dziurla 55eb636e24
main: detect epoch in version string 2020-03-26 18:39:23 +01:00
Dawid Dziurla 891515d3c4
main: color dpkg and allow to configure as root 2020-03-26 18:10:17 +01:00
Dawid Dziurla f235be040d
main: container name is just package 2020-03-26 17:45:58 +01:00
Dawid Dziurla 85503a8961
main: drop -security and -backports suffixes from distribution 2020-03-26 17:10:18 +01:00
Dawid Dziurla 63d10a4690
main: make apt-get more quiet 2020-03-26 16:51:36 +01:00
Dawid Dziurla 1e762b3098
main: DEBIAN_FRONTEND=noninteractive 2020-03-26 16:51:21 +01:00
Dawid Dziurla f698828e8c
main: print details 2020-03-26 16:04:59 +01:00
Dawid Dziurla 77636126b4
main: tar change directory 2020-03-26 16:00:12 +01:00
Dawid Dziurla 25ee9fdc80
main: use ; to separate tar transform components 2020-03-26 15:53:09 +01:00
Dawid Dziurla 2d1645957a
main: mount workspace directory and mv instead of cp 2020-03-26 15:48:23 +01:00
Dawid Dziurla 9308795b8b
update 2020-03-26 15:37:35 +01:00
Dawid Dziurla d9becc67b6
update 2020-03-26 13:26:07 +01:00
Dawid Dziurla b367c08be4
main: find, print and exec 2020-03-26 12:07:14 +01:00
Dawid Dziurla 4bf213cfe4
main: + -> ; 2020-03-26 11:59:37 +01:00
Dawid Dziurla 8cb980e7ab
main: use find for copying 2020-03-26 11:56:06 +01:00
Dawid Dziurla c44dab731a
main: list parent directory 2020-03-26 11:49:41 +01:00
Dawid Dziurla d0e11fce34
main: copy artifacts to workspace 2020-03-26 11:45:32 +01:00
Dawid Dziurla 1d3348542a
main: tweak dpkg-buildpackage flags 2020-03-26 11:16:30 +01:00
Dawid Dziurla 3562c66159
main: create tarball 2020-03-26 11:06:08 +01:00
Dawid Dziurla 9feac88483
rewrite in javascript 2020-03-26 10:34:31 +01:00