Commit Graph

1049 Commits

Author SHA1 Message Date
Aaron Schlesinger
3e44f2d1aa Adding tests for the memory storage driver (#21)
* Adding tests for in-memory storage

* Refactoring the memory storage driver

To not use global state

* Adding test skeleton

* Adding a test for get on memory storage

* Initializing the memory storage properly

* Moving the storage driver instantiation into the app constructor

In preparation for toggling drivers based on config

* Using the proper suite setup method

* Adding target for tests

* Adding test for list

* Remove extraneous spacing

* Adding test for memory.New

* Breaking common constants/vars into package globals

* Adding test for saver
2018-03-06 11:44:54 -08:00
Michal Pristas
7fc0e6f3b5 zip creation fixed (#30) 2018-03-05 22:43:29 +01:00
Aaron Schlesinger
8f0686e076 Adding travis CI config (#28)
* Adding travis CI config

* not using the make target

* Fixing a bug

Hooray CI!
2018-03-02 19:38:19 -05:00
Aaron Schlesinger
c0749c3725 vgp => athens (#26) 2018-03-02 12:51:09 -08:00
Aaron Schlesinger
8432a76b1f Adding an API for fetching module data from a CDN (#25)
* Adding an API for fetching module data from a CDN

* Moving the CDN interface to its own package under ./pkg

It replaces all of the read interfaces
2018-03-02 12:42:48 -08:00
Aaron Schlesinger
c6426fb60a Removing the All() function from listers (#24)
I used this function for early debugging of the memory storage driver.
Now that I’m writing tests for it (see
https://github.com/gomods/athens/pull/21), it is no longer valuable to
have it. Also, as the proxy is used in the real world, it’s no longer
going to be scalable to use this function.
2018-03-02 12:01:24 -08:00
Brian Ketelsen
ef2a8230b9 basic github oauth (#23) 2018-03-02 11:22:38 -08:00
Aaron Schlesinger
f84418af90 Adding a Netlify config file (#22)
* Adding a Netlify config file

* Adding command to the config file

* Moving the netlify.toml file to the root

Accidentally put under docs/

* Upgrading Hugo version
2018-03-02 10:58:29 -08:00
Brian Ketelsen
c95daa79c1 docs: hugo site generator for docs endpoint (#18)
* docs: add docs endpoint with pretty template. partially fixes #17

* add docs target to makefile, modify hugo target
2018-03-01 11:20:53 -08:00
Aaron Schlesinger
7994120ccd Update the buffalo version in dockerfile (#15)
I don't recall if buffalo:development is the image to use for developing buffalo apps, or if it's a tracking tag for the dev branch in buffalo. Anyway, if the `v0.11.0` tag can be used for developing buffalo, we should definitely use it because it's immutable
2018-03-01 10:29:17 -08:00
Aaron Schlesinger
1ce3f8c276 Updating the Readme to reflect new buffalo version (#14)
Thank you
2018-03-01 10:26:40 -08:00
Brian Ketelsen
10bbd589b7 athens: update to buffalo 0.11.0, add cors and csrf support (#13) 2018-03-01 10:22:48 -08:00
Aaron Schlesinger
b3843f0b04 Adding a "futures" document (#11)
* Adding a "futures" document

* Big-ish overhaul

This commit removes the local proxy and focuses just on the remote
proxy (like gopkg.in) and the “vanity names”

* Big-ish overhaul part II

Forgot to commit everything in my last commit, don’t feel like
squashing :)

* Adding note about VCS as a source

* Update DETAILS.md
2018-03-01 09:01:02 -08:00
Aaron Schlesinger
7189505400 Update README.md 2018-02-26 23:17:20 -08:00
Brian Ketelsen
0b7c180f50 athens: changed import path 2018-02-26 14:15:37 -05:00
Aaron Schlesinger
9b6b5005f1 pointing to API.md 2018-02-25 21:11:03 -08:00
Aaron Schlesinger
8ea3d0b94d Update and rename PROXY_API.md to API.md 2018-02-25 21:09:57 -08:00
Aaron Schlesinger
3e51859599 Create PROXY_API.md 2018-02-25 21:02:47 -08:00
Aaron Schlesinger
e91e8e40f6 Update README.md 2018-02-25 20:53:43 -08:00
Aaron Schlesinger
22bf4835b0 Update README.md 2018-02-25 20:18:22 -08:00
Aaron Schlesinger
28e046c6bc Update README.md 2018-02-25 20:18:03 -08:00
Aaron Schlesinger
55a1caa5b7 Update README.md 2018-02-25 20:17:37 -08:00
Aaron Schlesinger
33b26f9f46 Update README.md 2018-02-25 19:40:27 -08:00
Aaron Schlesinger
9af9b1aa07 contributing 2018-02-25 16:50:58 -08:00
Aaron Schlesinger
196ca34d08 indent 2018-02-25 16:49:38 -08:00
Aaron Schlesinger
85dfb95147 more docs 2018-02-25 16:48:12 -08:00
Aaron Schlesinger
d9eb25d85f 409-ing on dupe versions 2018-02-25 16:48:09 -08:00
Aaron Schlesinger
26fd76f582 handling duplicate uploads 2018-02-25 16:26:45 -08:00
Aaron Schlesinger
f58c06b030 showing more info on the "/all" endpoint 2018-02-25 16:21:49 -08:00
Aaron Schlesinger
cf2b030d02 adding some doc 2018-02-25 16:19:15 -08:00
Aaron Schlesinger
474d4a1b5b changing header 2018-02-25 16:17:02 -08:00
Aaron Schlesinger
9e6df18b8b more docs 2018-02-25 16:16:14 -08:00
Aaron Schlesinger
8e36408673 adding a docker file 2018-02-25 15:50:58 -08:00
Aaron Schlesinger
426c6c38fb finishing up the API 2018-02-25 15:45:01 -08:00
Aaron Schlesinger
fb607d3577 making <version>.info work 2018-02-25 15:30:36 -08:00
Aaron Schlesinger
5aa7cb9d58 making list & upload work 2018-02-25 15:18:10 -08:00
Aaron Schlesinger
a27b4b1a57 adding a not found 2018-02-25 15:05:43 -08:00
Aaron Schlesinger
38482b67c6 printing a success
and not exhausting the body buf
2018-02-25 14:59:44 -08:00
Aaron Schlesinger
e3236a40f5 fixing the admin route
and simplifying
2018-02-25 14:59:27 -08:00
Aaron Schlesinger
dfbc0a27ae more stuff 2018-02-25 14:47:25 -08:00
Aaron Schlesinger
89eeef7da1 adding CLI and refactoring payload defns 2018-02-25 14:34:01 -08:00
Aaron Schlesinger
cf3d44a62c pruning
after the go-git dependency was dropped
2018-02-25 14:06:34 -08:00
Aaron Schlesinger
a7f1d27491 adding list and admin API 2018-02-25 14:05:36 -08:00
Aaron Schlesinger
e57d08368e more things! 2018-02-25 13:03:45 -08:00
Aaron Schlesinger
9b134725c9 more boilerplate 2018-02-25 12:42:39 -08:00
Aaron Schlesinger
5c889a06f4 more initial things 2018-02-25 12:32:51 -08:00
Aaron Schlesinger
51ab360f64 ignoring some stuff 2018-02-25 12:27:14 -08:00
Aaron Schlesinger
0347b47bb4 adding initial stuff 2018-02-25 12:26:51 -08:00
Aaron Schlesinger
e6106038f3 Initial commit 2018-02-25 12:19:42 -08:00