Giter Club home page Giter Club logo

marman's Introduction

MarMan

MarMan (Marketplace Manager), is a tool used by ISV-CI to download files from various marketplaces.

Currently, it supports downloading files from the Tanzu Network, or from releases on Github.

Commands

  • marman github-download-release - Downloads a file from a GitHub release. May require a GITHUB_TOKEN.
  • marman tanzu-network-download - Downloads a file off of Tanzu Network. Requires a PIVNET_TOKEN (refresh or legacy).

marman's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar erniebilling avatar mboldt avatar pivotal-so avatar ram-pivot avatar squeedee avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

marman's Issues

Marman does not follow github redirects

Found this when building the uaa image.

cloudfoundry-incubator/uaa-cli redirects to cloudfoundry/uaa-cli, but using marman to download the first will result in a json file, not the release artifact.

Ensure Make behaves like make

build/marman-linux: $(SRC) deps

Today I learnt (or realised something i knew but haven't been applying):

This is a file target

build/marman-linux: $(SRC) deps
	GOARCH=amd64 GOOS=linux go build -o build/marman-linux -ldflags ${LDFLAGS} ./cmd/marman/main.go

This is a pseudo-target

build-darwin: build/marman-darwin

If you want make to be efficient, try to make sure that file targets always depend on other file targets

In the build/marman-linux target, we're depending on a pseudo-target, deps which means the go build will always be run again, despite there being nothing to do.

the fix is to move deps to the pseudo target:

build/marman-linux: $(SRC)
	GOARCH=amd64 GOOS=linux go build -o build/marman-linux -ldflags ${LDFLAGS} ./cmd/marman/main.go

build-darwin: deps build/marman-darwin

OR we can establish a file target for deps using the temp/tags trick but that's not always feasable.

This isn't an immediate issue, in that building our go apps is pretty fast, but it can balloon out and cause friction when later you decide to add a slower pre-processing action to your builds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.