Git Product home page Git Product logo

Comments (7)

dmitrijus avatar dmitrijus commented on June 24, 2024

Another easy "work-around" is to use script(1):

exec script /dev/null

"script" is a command which captures (to a file, which is /dev/null in our case) anything you type and output, but more importantly, it has to reopen the stdin/out/err in order to capture them (and they are created with correct permissions).

Dmitrijus

from cms-git-tools.

ktf avatar ktf commented on June 24, 2024

Thanks for reporting this. Can you please specify why you were running git cms-addpkg via sudo / cron? In principle git-cms-* are for interactive usage and you are much better off using normal git commands if you need to do things non interactively. Of course if you have a patch for this it will not be rejected though.

from cms-git-tools.

dmitrijus avatar dmitrijus commented on June 24, 2024

In online dqm we run our stuff inside a special dqmdev/dqmpro user,
and we usually set up cmssw inside interactively via sudo bash.

Our code is changing quite often and the git tools are quite useful.
I won't make a patch (for now), running under "script" solves the problem.

As for cron - I do not use it, but I remember Antanas and several summer students complaining about this bug.

from cms-git-tools.

fwyzard avatar fwyzard commented on June 24, 2024

Partially addressed by #78 .

from cms-git-tools.

cmsbuild avatar cmsbuild commented on June 24, 2024

A new Issue was created by @dmitrijus Dmitrijus.

@davidlange6, @smuzaffar, @Dr15Jones can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here cms-sw/cmssw#13029

from cms-git-tools.

fwyzard avatar fwyzard commented on June 24, 2024

@dmitrijus is this still an issue ?

from cms-git-tools.

dmitrijus avatar dmitrijus commented on June 24, 2024

I did a quick check it and it seems to work fine.
Thanks.

from cms-git-tools.

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.