Shoulder.dev Logo Shoulder.dev

Cloning the Thanos Repository

Use the following context, video list and articles to create a informative and comprehensive summary learning action plan for software developers on their chosen subject.

The target audience are "expert developers, with experience of CNCF projects as a end-user". The goal is to create an easy to follow learning summary with visible progress points. Include Learning Exercises at the end as example projects/challenges to continue learning with. Indicate which URLs where used for the facts or recommendations as footnotes ^#, starting at 1

Section 1: Use the context below to create a long comprehensive summary of the subject based on information provided. Only use the content provided to create the output. Don't say it's a summary. Act like it's the full output and these are the key points to know.

Output as short sentences and bullet points to make it easy to read. Reorganize the sections as required to make it easy to read. Make it motivational.

Section 2: Output a list of recommended videos and articles to watch/read in order. If it's not important to learning topic based on title/description, remove it. The order should be informative and motivational. Vary the language used to make it interesting.

Section 3: Provide a Relevant Code Snippet(s) to use as a reference. Use the code provided in the context below as a reference. If no code is provided, output "No example available".

The format should be in Markdown like this. Important to use titles provided:

"""

Background:

Sentences...

Key Points:

Learning Action Plan:

  • Step:
  • Why:
  • Action - Read, Execute, Practice, Watch, Interact:

Learning Exercises:

Recommended Watching/Reading Order:

  • Article ^#
  • Video ^#

Relevant Code Snippet(s):

Code
  

"""

Content To Use:

Subject: "Cloning the Thanos Repository"

Videos/Articles: contributing.md contributing.md getting-started.md

Context: https://thanos.io/v0.32/contributing/contributing.md Pull Request Process # Forking and Creating the local setup for developing Thanos Start your development with forking thanos-io/thanos.git . Here are sample steps to setup your development environment: $ GOPATH = $( go env GOPATH )

https://thanos.io/v0.33/thanos/getting-started.md need a working installation of the Go 1.18+ toolchain ( GOPATH , PATH=${GOPATH}/bin:${PATH} ). Next one should make a clone of our repository: git clone [email protected]:thanos-io/thanos.git

https://thanos.io/v0.33/thanos/getting-started.md When you have access to the source code locally, we have prepared a Makefile . Invoke this by using make in your CLI. For example make help will list all options. For building Thanos one could use make build The thanos binary should now be in your project folder and is the only thing required to deploy any of its components. Contributing # Contributions are very welcome! See our CONTRIBUTING.md for more information. Community # Thanos is an open source project and we value and welcome new contributors and members of the community. Here are ways to get in touch with the community: Slack: #thanos Issue Tracker: GitHub Issues Maintainers # See MAINTAINERS.md . Community Thanos Kubernetes Applications # Thanos is not tied to Kubernetes. However, Kubernetes, Thanos and Prometheus are part of the CNCF so the most popular applications are on top of Kubernetes. Our friendly

https://thanos.io/v0.32/contributing/contributing.md for the changes, but be patient enough for the reviews. Remember, good things take time :) Dependency management # The Thanos project uses Go modules to manage dependencies on external packages. This requires a working Go environment with version 1.11 or greater and git installed. To add or update a new dependency, use the go get command: # Pick the latest tagged release.

https://thanos.io/v0.33/thanos/getting-started.md Thanos aims for a simple deployment and maintenance model. The only dependencies are: One or more Prometheus v2.2.1+ installations with persistent disk. Optional object storage Thanos is able to use many different storage providers , with the ability to add more providers as necessary. Get Thanos! # You can find the latest Thanos release here . Main should be stable and usable. Every commit to main builds docker image named main-- in quay.io/thanos/thanos and thanosio/thanos dockerhub (mirror) We also perform minor releases every 6 weeks. During that, we build tarballs for major platforms and release docker images. See release process docs for details. Building from source: # Thanos is built purely in Golang , thus allowing to run Thanos on various x64 operating systems. Thanos can not be downloaded nor installed via the go get or go install methods.

https://thanos.io/v0.32/contributing/contributing.md $ mkdir -p $GOPATH /src/github.com/thanos-io $ cd $GOPATH /src/github.com/thanos-io $ git clone https://github.com//thanos.git $ cd thanos $ git remote add upstream https://github.com/thanos-io/thanos.git $ git remote update $ git merge upstream/main $ make build $ export PATH = $PATH : $GOPATH /bin $ thanos -h Signing your work: DCO (Developer Certificate of Origin) Process. By contributing to this project you agree to the Developer Certificate of Origin (DCO). This document was created by the Linux Kernel community and is a simple statement that you, as a contributor, have the legal right to make the contribution. To signoff, you need to add Signed-off-by: Your Name at the end of your commit messages. You can do this using git commit -s . For example: $ git commit -s -m 'This is my commit message'

https://thanos.io/v0.32/contributing/contributing.md create a codespace for this repository by clicking this 👉 A codespace will open in a web-based version of Visual Studio Code. The dev container is fully configured with software needed for this project. Note : Dev containers is an open spec which is supported by GitHub Codespaces and other tools . Spin up a prebuilt dev environment using Gitpod.io In case you want to develop the project locally, install Golang in your machine. Here is a nice gist for this purpose. You can run an interactive example, which populates some data as well, by following the steps mentioned here . Installing Project locally in your machine # Find any directory in your system your want Thanos repo in. e.g ~/Repos - cd ~/Repos Make sure that the GOBIN, GOPATH and GOPROXY (useful) environment variables are set and that GOBIN is included in your PATH. You may use GOPROXY=https://goproxy.cn as an