Code Monkey home page Code Monkey logo

Comments (8)

alazzaro avatar alazzaro commented on July 22, 2024

yes, it seems so...
I discussed with @dev-zero . Ideally, it would be good to have an official fix, no workaround...

let's rely on daint for the moment...

from dbcsr.

hfp avatar hfp commented on July 22, 2024

ACK, i.e., if Daint-CI passes - PR can be merged.

from dbcsr.

hfp avatar hfp commented on July 22, 2024

Btw, rerunning failed actions does not help.

from dbcsr.

dev-zero avatar dev-zero commented on July 22, 2024

that's a fallout of a fix to the latest git CVE (and the git versions inside most of our build containers have been updated), I expect a general solution in the actions/checkout to appear soon'ish.

from dbcsr.

hfp avatar hfp commented on July 22, 2024

The issue is supposedly fixed (and already released upstream). I reran all failed tests for the (currently) latest merged commit (which passed at least Daint-CI for the merge), and everything seems to pass now except the test called "pre-commit" which is still failing:

fatal: unsafe repository ('/__w/dbcsr/dbcsr' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/dbcsr/dbcsr

This might be also because of simply rerunning tests for something committed before the fix.

from dbcsr.

hfp avatar hfp commented on July 22, 2024

The pre-commit check continues to fail even for new PRs.

from dbcsr.

alazzaro avatar alazzaro commented on July 22, 2024

I think the problem is the that here we are running the command:

pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )

which includes git. I think we can add git config --global --add safe.directory for this stage. @dev-zero any idea?

from dbcsr.

dev-zero avatar dev-zero commented on July 22, 2024

@alazzaro yes, this seems to be the solution for now. Applied to both our pre-commit and as a step to the github pages deployment which suffers from the same issue.

from dbcsr.

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.