Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: provide way to update a repo's description and full_description #172

Open
actualben opened this issue Apr 9, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@actualben
Copy link

It would be nice to have a way to update the README content of a repo (I believe this is full_description in the API)

Output of hub-tool --version:

Docker Hub Tool v0.3.0, build 4b740d3
@tianon
Copy link

tianon commented Jul 9, 2021

This is definitely the number one thing I want out of a Hub API / CLI tool (and is the reason I've been using the reverse-engineered/not-officially-supported Hub "API" for years 😂 😇).

@actualben
Copy link
Author

docker/hub-feedback#1927 and docker/roadmap#115 contain some discussion related to updating readmes. It looks like there may be some parts of the API that need to be revised or finalized before this can happen?

aymanbagabas added a commit to charmbracelet/soft-serve that referenced this issue Nov 18, 2021
do this manually until their api allows using PAT

releated: docker/hub-tool#172
@modem7
Copy link

modem7 commented Nov 22, 2021

docker/hub-feedback#1927 and docker/roadmap#115 contain some discussion related to updating readmes. It looks like there may be some parts of the API that need to be revised or finalized before this can happen?

docker/roadmap#115 really shouldn't have been closed until this was sorted tbf.

@actualben
Copy link
Author

actualben commented Dec 27, 2021

Just recording some more interest/impact info for this feature; this general issue (need for an official API to update docker hub readmes) is also being tracked by several popular repos that would likely be consumers if it was implemented (instead they are currently relying on the unofficial APIs @tianon was referring to which don't work with 2FA+tokens):


Edit 11-Feb-2023
Support for auth-scoped tokens to update a repo's full_description and description via PATCH https://hub.docker.com/v2/repositories/REPO_NAME_HERE was added and announced by the Docker team on Jul 13, 2022 and community members have implemented support in their repos, including the GitHub Action peter-evans/dockerhub-description

@adripo
Copy link

adripo commented May 3, 2022

any update on this issue?

@modem7
Copy link

modem7 commented May 3, 2022

any update on this issue?

Apparently resolved in docker/hub-feedback#2127 (comment) - no idea how though

@christian-korneck
Copy link

same for me, I tried but it didn't seem to work. Does this work for anyone here? If so, I'd appreciate a pointer into the right direction.

reitzig added a commit to reitzig/texlive-docker that referenced this issue Jul 2, 2023
We're apparently using unsupported API, and
it has changed.

See also:
 - docker/hub-feedback#2127
 - docker/hub-tool#172
 - docker/build-push-action#21
@reitzig
Copy link

reitzig commented Jul 2, 2023

FWIW, this works for me: docker/hub-feedback#2127.1616804120 (cross-linking for people landing here via web search)

reitzig added a commit to reitzig/texlive-docker that referenced this issue Jul 2, 2023
We're apparently using unsupported API, and
it has changed.

See also:
 - docker/hub-feedback#2127
 - docker/hub-tool#172
 - docker/build-push-action#21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants