Commit Graph

44 Commits

Author SHA1 Message Date
Felipe M. 8401e0fa8d
buildx should to build files 2024-01-01 21:53:07 +01:00
Felipe M. 3a63076d89
ci: updated goreleaser 2024-01-01 21:48:13 +01:00
Felipe M. ff627e3ca1
ci: update archive template 2024-01-01 21:34:37 +01:00
Felipe M. e41ef10666
fix: use go.mod go version in release 2024-01-01 21:26:56 +01:00
dependabot[bot] 30ddff7ebb
chore(deps): bump the all group with 5 updates (#28)
Bumps the all group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `3` | `4` |
| [actions/setup-go](https://github.com/actions/setup-go) | `3` | `5` |
| [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) | `4` | `5` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `3` | `4` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3` | `4` |


Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

Updates `actions/setup-go` from 3 to 5
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v5)

Updates `goreleaser/goreleaser-action` from 4 to 5
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

Updates `actions/download-artifact` from 3 to 4
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 21:22:33 +01:00
Felipe M. c2c75aae0c
ci: added dependabot 2024-01-01 20:55:24 +01:00
Felipe M. f04ffc43e3
ci: push version only on version 2024-01-01 20:45:39 +01:00
Felipe Martin c4b1c18881
deps: update (#27)
* deps: golang

* deps: alpine

* refactor: buildx
2024-01-01 20:42:03 +01:00
Felipe M cadeaffd31
deps: update goreleaser 2023-02-27 13:53:48 +01:00
Felipe M 184178fe7b
fix: action go version 2023-02-27 11:08:41 +01:00
Felipe Martin 88dc46a886
deps: update actions (#26) 2023-02-27 10:55:23 +01:00
Felipe Martin 7bc4b7d12e
deps: update go for goreleaser (#25) 2023-02-27 10:43:13 +01:00
Felipe Martin 5a1e82ef97
deps: update (#24) 2023-02-27 10:31:01 +01:00
Felipe M bbc452e1f8
release: version bump 0.3.0 2022-08-11 21:28:22 +02:00
Felipe Martin Garcia e1f7b3feba
helm: added chart (#12) 2022-08-11 21:28:08 +02:00
Felipe M 9e223b5650
ci: fixed buildx support, containerfile and workflows
fixed #10
2022-08-11 17:44:54 +02:00
Felipe Martin Garcia 99845f1ad6
ci: docker buildx (#8)
* fix: goreleaser main path

* ignore dist folder

* ci: docker buildx support
2022-08-10 16:39:32 +02:00
Felipe Martin Garcia 5543a19df1
feat: added server configuration using env vars (#7)
* feat: added server configuration using env vars

* updated readme

* refactor: removed error returns where unneeded
2022-08-09 18:27:37 +02:00
Felipe Martin Garcia e69ecef6c8
ci: general improvements (#6)
* Renamed binary from server to bazaar

* Updated to go1.19

* Added several ignores

* Added makefile and helper scripts

* Added github workflows

* typo: filename

* using workflow inputs/outputs

* added containerfile

* cleanup containerfile

* enable cgo in tests only
2022-08-09 17:05:06 +02:00
Felipe Martin Garcia 071b536770
fix(steam): price text and name extraction (#5)
* fix(steam): price text extraction

fixes #4

* fix(steam): ensure spaces are trimmed from name
2022-08-07 12:39:08 +02:00
Felipe Martin Garcia d98546b445
ci: added basic build and test workflow (#3) 2022-08-07 12:30:20 +02:00
Felipe Martin Garcia 79120738ea
chore: removed test loggers 2022-08-07 12:15:42 +02:00
Felipe Martin Garcia 4a4832171a
test: steam 2022-08-07 12:15:32 +02:00
Felipe Martin Garcia 818b59940f
test: heroesdepapel 2022-08-07 12:15:19 +02:00
Felipe Martin Garcia cf94a590b7
test: added gtmstore test 2022-08-07 12:06:19 +02:00
Felipe Martin Garcia c71c9b0517
test: replaced greater with notempty 2022-08-07 12:06:11 +02:00
Felipe Martin Garcia a92b314d5c
test: amazon 2022-08-07 12:01:26 +02:00
Felipe Martin Garcia 89543fe637
refactor: using url.URL between components 2022-08-07 12:01:21 +02:00
Felipe Martin Garcia 3854a1fe11
feat: akiracomics improvements
* added tests
* extracting description
* using ShopOptions to perform request
2022-08-07 08:30:33 +02:00
Felipe Martin Garcia 0cf15e589a
chore: moved mock data to internal package 2022-08-07 08:29:35 +02:00
Felipe Martin Garcia 0838efd4fe
test: fix test assertion order 2022-08-07 08:29:11 +02:00
Felipe Martin Garcia 9ed8a01e7b
doc: updated readme 2022-08-06 10:39:14 +02:00
Felipe Martin Garcia 4fd67d8743
refactor: servers
* moved server logic to internal packages
* split the main server and the http server
* handling signals for shutting down
2022-08-06 10:37:22 +02:00
Felipe Martin Garcia d55c36c0e2
test: added basic testing to casadellibro
* added composition for shops, which now require a ShopOptions with a client
* added a mock client that returns data from a file in order to test
  the scrapper
* updated all shops
2022-08-06 10:12:45 +02:00
Felipe Martin Garcia 9ac3f2ff2d
feat: updated to go 1.18 2022-08-06 09:18:18 +02:00
Felipe Martin Garcia d6d7bebc6f
feat: add casadellibro.com 2022-08-06 09:08:52 +02:00
Felipe Martin Garcia 0e560e07ac
fix: handle shop not found properly, log more 2022-08-06 09:07:24 +02:00
Felipe M 9220b50e22
feat: added gtm-store.com support 2022-07-02 16:27:52 +02:00
Felipe M 9f5cd15f5d
chore: removed amazon unnecesary log 2022-01-29 20:44:53 +01:00
Felipe M ef1aa505ee
fix: improved amazon price parsing for latest ui 2022-01-18 20:42:21 +01:00
Felipe M 9bb7b5a756
docs: some information in readme 2022-01-16 20:29:54 +01:00
Felipe M c29b0fbed4
feat: added support for more shops
- Added support for akiracomics.com, heroesdepapel.es, amazon.es,
  amazon.com, store.steampowered.com
- Added a utils package with helpers to parse prices and times
- Added a shortcut `manager.Retrieve` method to use directly with a
  configured manager (allowing the user to directly call for data
  extraction on an URL without having to parse/retireve the sop
  manually).
2022-01-16 19:39:54 +01:00
Felipe M fe33dd5360
feat: proof of concept 2022-01-02 23:11:00 +01:00
Felipe Martin Garcia eca5e16955
Initial commit 2021-12-08 21:30:25 +01:00