Code Monkey home page Code Monkey logo

Comments (7)

BernieO avatar BernieO commented on August 26, 2024 1

I am planning to move calcardbackup to codeberg.org on January 17th 2020.

The URL of the repo will then be:
https://codeberg.org/BernieO/calcardbackup

Very convenient: just replace github.com with codeberg.org and you are done 🙂

from docker-calcardbackup.

waja avatar waja commented on August 26, 2024 1

@BernieO thanks for pointing out. I was searching a bit and found https://docs.gitea.io/en-us/api-usage/, but was too lame to find the link to https://try.gitea.io/api/swagger. :(

from docker-calcardbackup.

waja avatar waja commented on August 26, 2024

Hi @BernieO,

it's just that I'm subscribed to your repo releases to get notified and need to adjust the download part of my Dockerfile.

from docker-calcardbackup.

BernieO avatar BernieO commented on August 26, 2024

That seems to be possible to adjust with reasonable effort ;-)

I am still not sure whether I will do the move. But if I do so, I will let you know.

from docker-calcardbackup.

BernieO avatar BernieO commented on August 26, 2024

The migration was successful. See you at codeberg.org

from docker-calcardbackup.

waja avatar waja commented on August 26, 2024

Hi @BernieO,

Very convenient: just replace github.com with codeberg.org and you are done

any idea how to substitute curl -L $(curl -s https://api.github.com/repos/$GIT_PROJECT/releases/latest | jq -r ".tarball_url") | tar xz --strip=1 (https://github.com/Cyconet/docker-calcardbackup/blob/development/Dockerfile#L33)?

from docker-calcardbackup.

BernieO avatar BernieO commented on August 26, 2024

Haha, not as convenient as I thought it would be :-)

According to the api documentation of gitea and the manual of jq:

Replacing

$(curl -s https://api.github.com/repos/$GIT_PROJECT/releases/latest | jq -r ".tarball_url")

with

$(curl -s https://codeberg.org/api/v1/repos/$GIT_PROJECT/releases | jq -r ".[0].tarball_url")

should do the trick.

from docker-calcardbackup.

Related Issues (9)

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.