Commit Graph

46 Commits

Author SHA1 Message Date
Vincent Batts e826043c5c
changelog: add test for slackwareaarch64
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-27 21:26:19 -04:00
Vincent Batts 1e645e4616
go*: update dependencies
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-04-27 21:12:44 -04:00
Vincent Batts c0efaff923
go: update deps
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2022-02-23 20:31:01 +00:00
Vincent Batts e6f218314b
Merge pull request #19 from vbatts/certs
sl-feeds: adding --insecure and --ca flags
2021-04-15 22:04:39 -04:00
Vincent Batts d62d8c04d0
sl-feeds: adding --insecure and --ca flags
pulling straight from https://forfuncsake.github.io/post/2017/08/trust-extra-ca-cert-in-go-app/
Thanks @forfuncsake

Fixes #18

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-04-15 21:58:37 -04:00
Vincent Batts cb0663b0e8
go: update go modules
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-04-15 21:38:41 -04:00
Vincent Batts 7aa4e8b062
Merge pull request #17 from vbatts/mod
go: include the whole vendor directory
2021-02-16 15:36:43 -05:00
Vincent Batts 1e64d04b15
go: include the whole vendor directory
Not great, but gcc-go 1.14.4 is not picking up the go.mod file on the
first `go get`

Fixes #16

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-02-16 15:32:01 -05:00
Vincent Batts 5fe6d0f3ea
README: add GH actions build status badge
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-02-16 14:47:31 -05:00
Vincent Batts e06e8e0667
travis: remove it
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-02-16 14:46:46 -05:00
Vincent Batts aea11358d7
Merge pull request #15 from vbatts/gh-actions
Create go.yml
2021-02-16 14:46:24 -05:00
Vincent Batts 04205bb845
Create go.yml
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-02-16 14:32:41 -05:00
Vincent Batts eb4f0054b0
Merge pull request #13 from vbatts/fix_get_docs
README: fix the `go get` docs
2021-02-16 14:32:23 -05:00
Vincent Batts 75cc6dd1b7
Merge pull request #14 from vbatts/go-mod
go: add a go modules file, for better dep tracking
2021-02-16 14:32:11 -05:00
Vincent Batts 73ae7173f0
go: add a go modules file, for better dep tracking
Fixes #12

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-02-16 14:26:20 -05:00
Vincent Batts f879e16e8d
README: fix the `go get` docs
Fixes #11

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-02-16 14:23:24 -05:00
Vincent Batts 21d1b16734
test: adding slackwarearm ChangeLog.txt for testing
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-27 09:06:42 -05:00
Vincent Batts de7b0fc949
test: prep for testing other folks' ChangeLog.txt
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-27 08:57:04 -05:00
Vincent Batts 1cca828855
feeds: report updates differently
If there are "0 updates" then don't report as such.

Found as http://bear.alienbase.nl/mirrors//alien-kde/ChangeLog.txt
updates don't match the same regex as slackware update entries, so it
reported 0 updates. This is a TODO to improve that regex.

Reported-by: alienBob
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-22 12:11:55 -05:00
Vincent Batts cf4e6740bb Merge pull request #9 from vbatts/fix_guid
feed: Id needs to be an URL
2017-02-09 13:54:09 -06:00
Vincent Batts 92a58c4314
feed: Id needs to be an URL
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-09 14:51:26 -05:00
Vincent Batts b48b01f8eb Merge pull request #8 from vbatts/fix_guid
feed: give a guid to each item
2017-02-09 13:49:07 -06:00
Vincent Batts 3cc3bb5f29
feed: give a guid to each item
w3c recommends this.

Fixes #1

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-09 14:47:37 -05:00
Vincent Batts a66095ea7c Merge pull request #7 from vbatts/fix_format
feed: print the items as HTML
2017-02-09 13:35:02 -06:00
Vincent Batts 42e7cb11c9
feed: print the items as HTML
Fixes #3

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-09 14:33:35 -05:00
Vincent Batts 60a23ea96a Merge pull request #6 from vbatts/fix_links
feed: add a link per item
2017-02-09 13:27:10 -06:00
Vincent Batts 99d1f75308
feed: add a link per item
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-09 14:24:31 -05:00
Vincent Batts dabb6e7506 Merge pull request #5 from vbatts/fix_2
feed: set a relevant title
2017-02-09 13:21:48 -06:00
Vincent Batts edc6d69369
feed: set a relevant title
Fixes #2

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-09 14:15:47 -05:00
Vincent Batts 01020629d6 Merge pull request #4 from vbatts/travis
travis: adding CI checks
2017-02-09 09:21:46 -06:00
Vincent Batts 8f7033da96
travis: adding CI checks
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-09 10:18:17 -05:00
Vincent Batts 2c8e6fa35a
sl-feeds: remove EOL release from sample
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 12:42:07 -05:00
Vincent Batts 831b9f5469
README: include new link
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 12:40:30 -05:00
Vincent Batts 7fbacd0b66
README: fixup example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 12:39:15 -05:00
Vincent Batts 2c411eb5cc
README: update the example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-05 16:51:40 -05:00
Vincent Batts dc39b5bdc7
main: add the --quiet flag
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-05 16:49:32 -05:00
Vincent Batts fc518b86c5 *: golint and change import paths
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-05 16:38:40 -05:00
Vincent Batts 25fc064194 *: it works and is mostly ready
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-05 16:32:01 -05:00
Vincent Batts 871ba61aa1
*: prepare for time comparison with remote
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-04 11:06:57 -05:00
Vincent Batts c5585b2c1d
*: golint
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-01-29 15:54:47 -05:00
Vincent Batts e646c9daef
util: file path finder
Convenience to walk a directory tree looking for a file like
"ChangeLog.txt"

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-01-29 15:50:51 -05:00
Vincent Batts 0cd4c2fee6
main: still iterating
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-01-29 15:27:08 -05:00
Vincent Batts 98d14f9b91
cmd/sl-feeds: stubbing out a cli
vendoring the deps for the sake of posterity

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-01-26 21:07:49 -05:00
Vincent Batts ce788fcd88
fetch: Fetch a ChangeLog from a Repo
and get its remote last-modified time

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-01-26 18:54:15 -05:00
Vincent Batts 8e97e3d16f
changelog: a slackware ChangeLog parser
and ability to export to feeds

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-01-26 14:11:26 -05:00
Vincent Batts f522293398 adding this for history sake
It has not been updated since 2011 and should get a rewrite and
simplification...
2017-01-25 12:24:20 -08:00