Carlos Alexandro Becker
e9205e74c0
fix: lint issues
2018-09-12 13:17:59 -03:00
Carlos Alexandro Becker
45930e66ca
fix: rpm: passing verbose flag to rpmbuild
2018-09-12 12:58:54 -03:00
Carlos Alexandro Becker
789bf5ca36
chore: typo
2018-07-08 19:49:15 -07:00
Carlos Alexandro Becker
4980d7300c
fix: rpm: windows paths inside tar files
2018-07-08 19:49:15 -07:00
Carlos Alexandro Becker
a0f04ab682
test: fix duplicated code and other issues
2018-06-04 09:08:27 -03:00
Carlos Alexandro Becker
a2ecad5e17
feat: rpm: create empty managed dirs
2018-05-16 21:42:34 -03:00
tympanix
3000825622
chore: gofmt
2018-04-10 23:10:32 +02:00
tympanix
fbe68cc0f9
refactor: overrides using explicit embedded struct
2018-04-10 17:39:43 +02:00
Tympanix
b3e51e12b4
test: e2e test for rpm maintainer scripts
2018-04-09 13:19:45 -03:00
Tympanix
ee5a988ff4
refactor: pointers in favor of reflection in rpm
2018-04-09 13:19:45 -03:00
Tympanix
c5e971efde
feat: maintainer scripts for rpm
2018-04-09 13:19:45 -03:00
Carlos Alexandro Becker
672aa2bd65
fix: better validations
2018-04-05 09:51:01 -03:00
Carlos Alexandro Becker
c52d07bcc8
fix: versions with dash on rpm
2018-03-28 15:12:11 -03:00
Carlos Alexandro Becker
fc4cd13a24
test: added rpm test with a dash on version
...
refs #24
2018-03-28 15:12:11 -03:00
Carlos Alexandro Becker
c592eb01a7
style: improved rpm pipe tests
2018-03-28 15:12:11 -03:00
Carlos Alexandro Becker
db0bbe8ee6
chore: improving error handling and wrapping
2018-03-27 20:36:02 -03:00
Carlos Alexandro Becker
f83817330e
Merge pull request #17 from tympanix/feat-globs
...
feat: File globs using mattn/go-zglob library
2018-03-25 15:14:58 -03:00
Carlos Alexandro Becker
5b49758715
fix: rpm: translate 386 to i386
2018-03-23 14:14:16 -03:00
Carlos Alexandro Becker
0ed55a12bc
test: acceptance tests for rpm i386
2018-03-23 14:04:38 -03:00
Carlos Alexandro Becker
9f7e12ad8f
fix: arch map for debian packages
...
refs #21
2018-03-21 18:07:35 -03:00
tympanix
15055e0337
Merge branch 'master' into feat-globs
2018-03-12 15:30:37 +01:00
Carlos Alexandro Becker
3db9ba1cd1
fix: simplified rpm version regex
...
we should probably make it work on other langs as well.
refs https://gophers.slack.com/archives/C3T1JU24B/p1520790489000061
2018-03-12 10:27:42 -03:00
tympanix
cd7e1af4f2
refactor: Renamed package pkgutil to glob
2018-03-11 16:59:12 +01:00
tympanix
e7c7c8342b
feat: File globs using mattn/go-zglob library
...
Added file globs to deb and rpm packager. Since the destination for
a glob can not be a single file, the files collected by the glob are
stored in: join(dst, trim(lcp(src), src)) (read: lcp = longest common
prefix). Thereby the longest common prefix is removed from every path in
the globbed files and joined with the destination path. Implementation
is backwards compatible (i.e. non-globs will work as before)
2018-03-10 23:49:01 +01:00
Carlos Alexandro Becker
9078fee243
fix: fixed rpm version parsing
...
closes #11
2018-03-05 21:33:16 -03:00
Carlos Alexandro Becker
21bef1641c
test: added failing test for #11
2018-03-05 21:02:26 -03:00
Carlos Alexandro Becker
9d6fd83ec5
godoc
2018-02-19 10:37:30 -03:00
Carlos Alexandro Becker
f27591c836
style: gofmt
2018-02-18 19:32:47 -03:00
Carlos Alexandro Becker
4d7ea9700c
fix: gometalinter
2018-02-18 18:54:15 -03:00
Carlos Alexandro Becker
4486870ddd
feat: handle rpmbuild version and adds suggests as well
2018-02-18 18:41:32 -03:00
Carlos Alexandro Becker
522532aff2
Revert "fix: trying suggests instead of recommends"
...
This reverts commit 67a0b3178906823d994ad2c5651bbfc93db7d3a1.
2018-02-18 17:54:07 -03:00
Carlos Alexandro Becker
67a0b31789
fix: trying suggests instead of recommends
2018-02-18 17:46:20 -03:00
Carlos Alexandro Becker
2d6378cbe4
feat: support recommending packages
2018-02-18 17:14:55 -03:00
Carlos Alexandro Becker
f592011b7e
chore: testing rpmbuild not in path
...
and adding it to travis
2018-02-16 20:50:13 -02:00
Carlos Alexandro Becker
e5fe548add
test: added some more
2018-02-16 19:11:52 -02:00
Carlos Alexandro Becker
b7e40a603c
style: improving code
2018-02-16 00:15:41 -02:00
Carlos Alexandro Becker
8e30ff779d
style: improving code
2018-02-16 00:12:54 -02:00
Carlos Alexandro Becker
6d018d3505
style: improving code
2018-02-15 23:58:37 -02:00
Carlos Alexandro Becker
37a2dbf86b
fix: defaults
2018-02-12 19:15:37 -02:00
Carlos Alexandro Becker
6a25e65a17
rpm: bindir
2018-02-12 16:29:44 -02:00
Carlos Alexandro Becker
74f4bdaa15
wrap errors
2018-02-12 14:09:59 -02:00
Carlos Alexandro Becker
216e0a45de
init/register
2018-02-12 13:50:25 -02:00
Carlos Alexandro Becker
5fff8cc780
fix: rpm config files
2018-02-06 00:28:30 -02:00
Carlos Alexandro Becker
8d6ebd98e2
dep and fixes
2018-02-05 00:54:03 -02:00
Carlos Alexandro Becker
173904cdbd
chore: renamed to nfpm
2018-02-04 23:53:22 -02:00
Carlos Alexandro Becker
ccc17de7b0
feat: wip: rpm: depends et all
2018-02-04 23:42:03 -02:00
Carlos Alexandro Becker
19a3378b24
feat: wip: rpm: dedup testdata
2018-02-04 23:36:02 -02:00
Carlos Alexandro Becker
dd00fadb3f
feat: wip: rpm: fix files
2018-02-04 23:28:36 -02:00
Carlos Alexandro Becker
d56b8ef464
feat: wip: rpm
2018-02-04 21:19:00 -02:00
Carlos Alexandro Becker
082e88ff8a
feat: wip: rpm
2018-02-04 21:00:20 -02:00