Git Product home page Git Product logo

Comments (6)

yardenshoham avatar yardenshoham commented on August 16, 2024

I'll give it a shot this weekend. Which tools would I need to add to the docker image? Go, Node, Make...?

from gitea-backporter.

silverwind avatar silverwind commented on August 16, 2024

git, go, node (with npm), make, curl at least. Maybe just use the test_env image which should have all of them.

from gitea-backporter.

yardenshoham avatar yardenshoham commented on August 16, 2024

Unlike a backport, which happens on push this might have a request coming in when a make fmt is already running so I have to think about queuing work as there's only one of these that might run at a time

from gitea-backporter.

silverwind avatar silverwind commented on August 16, 2024

Could use a temporary label like command/pending to prevent duplicate runs. Also, it serves a double purpose in indicating to users that the command was accepted.

from gitea-backporter.

yardenshoham avatar yardenshoham commented on August 16, 2024

I'm talking about 2 maintainers triggering a command while we only have 1 git repo in the filesystem (we can't use it concurrently). I wonder if there are locks in javascript

from gitea-backporter.

silverwind avatar silverwind commented on August 16, 2024

I don't suppose these action scripts run all within the same process, right? If so, no amount of in-process lock will help, but if the file system is shared between executions, you could put some sort of lockfile into it.

from gitea-backporter.

Related Issues (20)

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.