Giter Club home page Giter Club logo

Comments (13)

Obsidiannite21 avatar Obsidiannite21 commented on June 15, 2024 1

I apologize @mag37 , I forgot the project was old. @Palleri I tried the new project but was having issues, so I reverted to the old. I will give it another try and see if I have the same issues.

from dockcheck.

mag37 avatar mag37 commented on June 15, 2024

This is the perfect place to post it :)
Thank you for reminding me - been meaning to compare the brief-version with main to see if I've missed including changes in it.

I've just had a quick glance and it's probably be fixable by changing the line to
for e in "${Excludes[@]}" ; do [[ "$i" == "$e" ]] && continue 2 ; done

But I need to do some testing before I'll publish a change.

from dockcheck.

Obsidiannite21 avatar Obsidiannite21 commented on June 15, 2024

@mag37 Awesome, thank you!

from dockcheck.

mag37 avatar mag37 commented on June 15, 2024

I've did some testing and seems to work as expected, will merge to main.
But I realized the Palleri/DCW have a modified file, not updated by my source so I made a pull request :) hopefully it'll resolve your issue.

from dockcheck.

Obsidiannite21 avatar Obsidiannite21 commented on June 15, 2024

Thanks again!!

from dockcheck.

mag37 avatar mag37 commented on June 15, 2024

@Obsidiannite21
Until it's patched you can run this to fix it (replace dcw if you've named your contianer differently)

docker exec dcw sed -i '19s/^.*$/ for e in "${Excludes[@]}" ; do [[ "$i" == "$e" ]] \&\& continue 2 ; done/' app/dockcheck.sh

That'll change the specific line of code in the script in the container.
It's the same change I've pull requested to @Palleri

from dockcheck.

Obsidiannite21 avatar Obsidiannite21 commented on June 15, 2024

Wow, thank you! I appreciate you taking the time to share that with me. It worked except there was 1 minor typo - the / was missing from "/app/dockcheck.sh" just in case anyone else tries to use this. I rebuilt the container and it is excluding things correctly!

from dockcheck.

Palleri avatar Palleri commented on June 15, 2024

I'm not sure if this is the right place to post this but I didn't know where would be better.

I use the DockCheck Web project (https://github.com/Palleri/dockcheck-web), to send me push notifications when a container needs to be updated. As I'm sure you're aware this project is based on your script. I'm not a coder but it seems that the Docker build is specifically calling dc_brief.sh. You recently updated the script to more accurately filter excluded container, but it doesn't look like this file was updated, so DockCheck web is still using the old exclude parameters. Would you be able to update this @mag37 ? I compared the code and it looks like this would do the trick but I'm more likely to break something than fix it lol:

[[ "${Excludes[@]}" == ${i} ]] && continue;

Hi, thank you for contributing to the project and sending feedback.
I decided to rewrite the code a bit to make room for other features. Dockcheck-web is being replaced with DCW
Will work pretty much the same. This is the project Mag37 sent a pull request to.

from dockcheck.

mag37 avatar mag37 commented on June 15, 2024

@Palleri ah didnt realise @Obsidiannite21 used the old project, that should be pulling the dc_brief.sh from my project and be fixed already then as I understand it. Neat.

from dockcheck.

Palleri avatar Palleri commented on June 15, 2024

@mag37 Yes correct.
Anyway, thank you for making the pull request to DCW aswell. I will make sure to push it as soon as possible.

from dockcheck.

Palleri avatar Palleri commented on June 15, 2024

@Obsidiannite21 No worries, I am happy to help you to get the new up and running. Just submit an issue on DCW if you have any problems.

from dockcheck.

Obsidiannite21 avatar Obsidiannite21 commented on June 15, 2024

@Palleri Will do! I'll try it tonight.

from dockcheck.

Palleri avatar Palleri commented on June 15, 2024

Just pushed the update to latest on dockerhub aswell.
Thanks everyone for the feedback.

from dockcheck.

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.