athens

module
v0.15.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: MIT

README

Welcome To Athens, Gophers!

Athens Banner

Build Status GoDoc Go Report Card codecov Docker Pulls PRs Welcome Open Source Helpers

Welcome to the Athens project! Athens is an open source, enterprise ready implementation of the Go Module proxy for the Go Modules download API.

See our documentation site https://docs.gomods.io for more details on the project.

We are looking for people who would like to become core maintainers of this project. Please see issue #1734 for more details.

Project Status

Development teams at several companies are using Athens in their everyday development workflows.

This means that they are running their own Athens servers, hooking them up to their own storage backends (see here for the list of storage backends that Athens supports), and configuring their local Go development environments to use that Athens server.

We encourage you to try it out, consider using it in your development workflow, and letting us know if you are using it by adding a comment to this GitHub issue.

More Details Please!

The proxy implements the Go modules download protocol.

Athens proxies are highly configurable, so they can work for lots of different deployments. For example, proxies support a wide variety of storage drivers including:

  • Cloud blob storage services
  • MongoDB
  • Content distribution networks (CDNs)
  • Shared disk
  • In-memory

Development

See DEVELOPMENT.md for details on how to set up your development environment and start contributing code.

Speaking of contributing, read on!

Contributing

If you use Athens for your development workflow, we hope that you'll consider contributing back to the project. Athens is widely used and has plenty of interesting work to do, from technical challenges to technical documentation to release management. We have a wonderful community that we would love you to be a part of. Absolutely everyone is welcome.

The quickest way to get involved is by filing issues if you find bugs or find that you need Athens to do something it doesn't.

If you'd like to help us tackle some of the technical / code challenges and you're familiar with the GitHub contribution process, you'll probably be familiar with our process for contributions. You can optionally find or submit an issue, and then submit a pull request (PR) to fix that issue. See here for more of the project-specific details.

If you're not familiar with the standard GitHub contribution process, which Athens mostly follows, please see this section of our documentation to learn how to contribute. You can also take advantage of @bketelsen's great video on how to contribute code. The information in these documents and videos will help you not only with this project, but can also help you contribute to many other projects on GitHub.

If you decide to contribute but aren't sure what to work on, we have a well maintained list of good first issues that you should look at. If you find one that you would like to work on, please post a comment saying "I want to work on this", and then it's all yours to begin working on.

We do recommend that you choose one of the issues on the above list, but you may also consider a different one from our entire list. Many of the issues on that list are more complex and challenging.

Before you do start getting involved or contributing, we want to let you know that we follow a general philosophy in how we work together, and we'd really appreciate you getting familiar with it before you start.

It's not too long and it's ok for you to "skim" it (or even just read the first two sections 😄), just as long as you understand the spirit of who we are and how we work.

Getting Involved Without Contributing Pull Requests or Issues

If you're not ready to contribute code yet, there are plenty of other great ways to get involved:

  • Come talk to us in the #athens channel in the Gophers slack. We’re a really friendly group, so come say hi and join us! Ping me (@arschles on slack) in the channel and I’ll give you the lowdown
  • Get familiar with the technology. There's lots to read about. Here are some places to start:

Built on the Shoulders of Giants

The Athens project would not be possible without the amazing projects it builds on. Please see SHOULDERS.md to see a list of them.

Coding Guidelines

We all strive to write nice and readable code which can be understood by every person of the team. To achieve that we follow principles described in Brian's talk Code like the Go team.

Code of Conduct

This project follows the Contributor Covenant (English version here) code of conduct.

If you have concerns, notice a code of conduct violation, or otherwise would like to talk about something related to this code of conduct, please reach out @arschles on the Gophers Slack.


Athens banner attributed to Golda Manuel

Directories

Path Synopsis
cmd
internal
pkg
build
Package build provides details of the built binary The details are set using ldflags.
Package build provides details of the built binary The details are set using ldflags.
download
Package download provides http handlers that implement vgo's Download Protocol.
Package download provides http handlers that implement vgo's Download Protocol.
errors
Package errors provides a central interface to handling all errors in the Athens domain.
Package errors provides a central interface to handling all errors in the Athens domain.
log
storage/gcp
Package gcp provides a storage driver to upload module files to a google cloud platform storage bucket.
Package gcp provides a storage driver to upload module files to a google cloud platform storage bucket.
storage/s3
Package s3 provides a storage driver to upload module files to amazon s3 storage bucket.
Package s3 provides a storage driver to upload module files to amazon s3 storage bucket.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL