Comments (7)
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.
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.
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.
Partially addressed by #78 .
from cms-git-tools.
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.
@dmitrijus is this still an issue ?
from cms-git-tools.
I did a quick check it and it seems to work fine.
Thanks.
from cms-git-tools.
Related Issues (20)
- git-cms-addpkg and new packages HOT 1
- Check if a package exists before doing the read-tree HOT 2
- Add -p / --project option to specify repository. HOT 3
- cms-addpkg fails if $CMSSW_BASE/src is not empty HOT 2
- cms-addpkg doesn't recognize CMSSW_6_1_X_SLHC branch HOT 2
- Error when not creating the reference repository. HOT 1
- Using --https option fails when creating the reference repository.
- make addpackage check the current dir is inside of CMSSW_BASE HOT 3
- user.github vs github.user in gitconfig HOT 2
- how to choose another location for the reference repository? HOT 10
- git cms-addpkg gives unclear error message when package not found HOT 2
- "You don't seem to have a personal repository," when I do have a personal repository HOT 7
- git-cms-addpkg resets staged (but not yet commited) changes without a warning. HOT 7
- please create a "public" OAuth API key HOT 6
- Add conflict resolution options to git-cms-merge-topic.
- Add a --continue feature to the cms-merge-topic HOT 2
- git cms-remote HOT 3
- Testing PRs from non cms-sw/cmssw repositories HOT 2
- git-cms-checkdeps does not create poison files for files which are renamed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cms-git-tools.