Code Monkey home page Code Monkey logo

Comments (10)

pburkholder avatar pburkholder commented on May 19, 2024

Could you elaborate on what sort of testing you'd like to see here? That executing a set of git commands results in an error?

I might be able to help.

P

from laptop.

LinuxBozo avatar LinuxBozo commented on May 19, 2024

@pburkholder yeah, I was capturing these quickly as I was going through things, and planned on actually providing the meat soonish..

from laptop.

alain-hoang avatar alain-hoang commented on May 19, 2024

Working to resolve dependency on issue #75

from laptop.

alain-hoang avatar alain-hoang commented on May 19, 2024

This still requires missing dependency on #75 before it can pass tests. I've added pushed a branch here with current WIP for tests.

from laptop.

alain-hoang avatar alain-hoang commented on May 19, 2024

Missing dependency on #75 has been updated however it appears that git-seekret is not properly applying rulesets on staged files or commits. Created #22 to address this

from laptop.

rogeruiz avatar rogeruiz commented on May 19, 2024

The test repo can be created manually every time.

git init
touch README.md
echo "SHHHH... Secrets in this file" >> README.md
echo "fb^!uQ2oYEVPqfwSA=VP=6CXY9O8yYeIMcX8FcidX@CMP6O%Jv*9*MI+D+rZj!7a" >> README.md
echo "5c0d8a4d27d90a552aea44b880b8a452864f6e3f" >> README.md
echo "192.168.11.0" >> README.md
git commit # this should trigger the secrets and this is what we want to test in `BATS`.

from laptop.

alain-hoang avatar alain-hoang commented on May 19, 2024

Instructions for how to run bats tests in seekrets.bats test file

from laptop.

ertzeid avatar ertzeid commented on May 19, 2024

It looks like all of the items are checked. Is this done?

from laptop.

LinuxBozo avatar LinuxBozo commented on May 19, 2024

In discussing with @alain-hoang this is still waiting on apuigsech/git-seekret#26

from laptop.

LinuxBozo avatar LinuxBozo commented on May 19, 2024

Closed by #87 and #94

from laptop.

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.