Giter VIP home page Giter VIP logo

qucli's People

Contributors

030 avatar koudaiii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

qucli's Issues

go modules

At the moment this repository does not have go modules support.

Feature Request: Enable repositorynotification api

It would be a great benefit if when using qucli if after i create my repository and add my users and robot accounts, if I could also add a webhook and the webhook destination through qucli. This can be accomplished with the

repositorynotification : List, create and manage repository events/notifications.

rest api.
Referenced from here: quay Rest Api

should the default hostname not be quay.io?

I was trying to run the example, but it turned out the QUAY_HOSTNAME had to be set as well. I was assuming that the default would point to quay.io. What is your opinion about this?

I suggest to add -e QUAY_HOSTNAME=quay.io to the docker example. If this is omitted the following is returned on Windows:

err: Get https://some-number/api/v1/repository?namespace=some-namespace&public=true: dial tcp some-ip:443: getsockopt: connection refused

Allow a different hostname other than quay.io

Looking at the code it seems that quay.io is hard coded. We have a private enterprise version of quay.io and it would be great if I could change the default 'quay.io' to 'quay.example.com' or something like that.
Basically can you setup a config file or add in an extra option to point to a different hostname? Thanks!

create robots?

is there a functionality to create robots? happy to try to add it if ur game. is there a better/different way?

Vulnerabilities

quay.io/koudaiii/qucli (alpine 3.4.6)
=====================================
Total: 6 (UNKNOWN: 0, LOW: 1, MEDIUM: 5, HIGH: 0, CRITICAL: 0)

{"status": 401, "error_message": "Requires authentication", "title": "invalid_token", "error_type": "invalid_token", "detail": "Requires authentication", "type": "https://quay.io/api/v1/error/invalid_token"}

WHY

  • homebrew
$ qucli get koudaiii/qucli
Repository:
	quay.io/koudaiii/qucli
Visibility:
	public
Permissions:
	koudaiii(admin)
Notifications:
err: HTTP error!
URL: https://quay.io/api/v1/repository/koudaiii/qucli/notification
status code: 401
body:
{"status": 401, "error_message": "Requires authentication", "title": "invalid_token", "error_type": "invalid_token", "detail": "Requires authentication", "type": "https://quay.io/api/v1/error/invalid_token"}
  • manual go build
$ ./bin/qucli get koudaiii/qucli
Repository:
	quay.io/koudaiii/qucli
Visibility:
	public
Permissions:
	koudaiii(admin)
Notifications:
	b0736be9-f0eb-4c3c-8d33-2e331b1e5b0f	Some title	repo_push	map[]	slack	map[url:https://hooks.slack.com/service/some/token/here]
	00ad6dc9-8a20-47c2-85c2-17a5bbecd918	Some title	repo_push	map[]	slack	map[url:https://hooks.slack.com/service/some/token/here]

๐Ÿค” โ“

qucli version: 0.6.2

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.