Giter VIP home page Giter VIP logo

Comments (6)

raiscui avatar raiscui commented on June 5, 2024 3

me too, directory ignore work not good,
it is 'recursive-readdir' use matchBase:true for minimatcher

but , if no matchBase:true, it become like this:
**/**.map **/libs/** **/workers/** **/manifest.json **/deviceUpdate/** **/chcp.json **/chcp.manifest **/package.json **/node_modules/**

not view good,but work

from cordova-hot-code-push-cli.

nikDemyankov avatar nikDemyankov commented on June 5, 2024

Understood, thanks for the feedback. I don't have a Windows machine at the moment, so it will take some time to get one...

from cordova-hot-code-push-cli.

VinceOPS avatar VinceOPS commented on June 5, 2024

I have the same problem on Linux.

I needed to add **/ before all my paths in .chcpignore, e.g.:

**/www/css/uria.css

The reason is that readdir-recursive is given an absolute path (process.cwd() + 'www') and is given a list of relative paths by .chcpignore.

I think the list of ignored entries should be prefixed with process.cwd(), so readdir-recursive can properly ignore them.

Something (dirty) like:

      for(var i = 0; i < this.__ignoredFiles.length; ++i) {
        this.__ignoredFiles[i] = path.join(process.cwd(), this.__ignoredFiles[i]);
      }

in src/context.js

I think we could also ignore lines beginning with a # so we could "properly" insert comments in our .chcpignore file (just like we do with .gitignore files, to eventually explain why something is ignored)

from cordova-hot-code-push-cli.

nikDemyankov avatar nikDemyankov commented on June 5, 2024

Thanks for the input!

from cordova-hot-code-push-cli.

nikDemyankov avatar nikDemyankov commented on June 5, 2024

I think we could also ignore lines beginning with a # so we could "properly" insert comments in our .chcpignore file (just like we do with .gitignore files, to eventually explain why something is ignored)

Comments support is added in v1.1.0.

The issue is not yet fully fixed, so keeping it open.

from cordova-hot-code-push-cli.

nordnet-deprecation-bot avatar nordnet-deprecation-bot commented on June 5, 2024

👋 Hi! Thank you for your interest in this repo.

đŸ˜ĸ We are not using nordnet/cordova-hot-code-push-cli anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹī¸ Please see #79 for more information.

from cordova-hot-code-push-cli.

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.