Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manics/go-conda-proxy

A Conda proxy written in Go
https://github.com/manics/go-conda-proxy

Last synced: 19 days ago
JSON representation

A Conda proxy written in Go

Awesome Lists containing this project

README

        

# Go Conda Proxy

[![Go](https://github.com/manics/go-conda-proxy/actions/workflows/build.yml/badge.svg)](https://github.com/manics/go-conda-proxy/actions/workflows/build.yml)

A Conda proxy written in Go.

## Build

Build binaries and run tests

```
make
```

## Usage

Create/update repodata cache and list of allowed files

```
./conda-parser -cfg config.yaml -force
```

Force an update of repodata cache and list of allowed files, ignore `max_age_minutes` in `config.yml`.

```
./conda-parser -cfg config.yaml -force
```

Run conda-proxy, this uses the `repodata-cache` directory/files created by `conda-parser`.

```
./conda-proxy -cfg config.yaml
```

## Development

```
go run cmd/conda-parser/main.go -cfg config.yaml
```

```
go run cmd/conda-proxy/main.go -cfg config.yaml
```