Commit Graph

10 Commits (e768d359424885ac51389e6b200b4a34c5d91c95)

Author SHA1 Message Date
jolheiser e768d35942
Add sakura for CSS
continuous-integration/drone/pr Build is passing Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-05-09 00:00:20 -05:00
John Olheiser cf984234fd Convert to gpm-style service (#11)
This is a **massively** breaking change from `v0.2.0`.
For consumers there will be no difference, `go-get` and `git-import` are both still supported.
The change will be for the admin regarding how package management works.

Prior to merging, `v0.2.0` should be moved to another branch in case myself or another party wants to continue with that style of service.

This version follows a similar implementation to [gpm](https://gitea.com/jolheiser/gpm) (and indeed, some code was copied nearly line-by-line)

-----

Vanity runs as a service, same as before. However, rather than automatic cron-style updates using a third-party API, now the service owner uses their local `vanity` binary with a matching `token` to...
* `vanity add` a new package
* `vanity update` an existing package
* `vanity remove` a package

This allows much finer control over which packages are in the service and should required almost no downtime once the service is started other than to update the service itself.

As well, it allows mixing of git providers.

<small>There's also an SDK, which is nice to have.</small>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/vanity/pulls/11
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2021-04-23 11:21:53 +08:00
John Olheiser c4be5e64b6 Add link to docs for vanity imports (#10)
Reviewed-on: https://gitea.com/jolheiser/vanity/pulls/10
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2021-02-23 22:45:01 +08:00
John Olheiser 2f688b839b Update docker for Go 1.16 (#9)
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/vanity/pulls/9
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2021-02-22 04:28:35 +08:00
John Olheiser c3e03c1408 Shiny things (#8)
Resolves #4
Resolves #5
Resolves #6

Change list:

* Adds topics format
   * Groups projects by their topics/tags, any without topics are tossed in `other`
* Adds minimal page for `go-get` or `git-import` URL query parameters
* Changes the version information to explicitly mention Vanity and Go.
* Adds manual update mode as an alternative to the automatic intervals.
* Moved templates to `.tmpl` files and using `//go:embed` to add to binary.

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/vanity/pulls/8
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2021-02-22 04:23:06 +08:00
jolheiser e7c3ac2d0f
Fix docker compose
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-12 13:04:48 -05:00
jolheiser c6b66c4691
Add license
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-12 10:41:21 -05:00
John Olheiser 693e58df7f Vanity overhaul (#3)
More debug output and template fixes

Signed-off-by: jolheiser <john.olheiser@gmail.com>

README cleanup

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Better config options, change package structure

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Add GitLab support

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Initial Overhaul

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/vanity/pulls/3
2020-09-12 15:23:25 +00:00
John Olheiser 1805220975 Add CI config (#1)
Add CI config

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/jolheiser/vanity/pulls/1
2020-02-21 14:14:13 +00:00
jolheiser db641970e7
Initial commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-20 22:39:03 -06:00