Giter Site home page Giter Site logo

grunt-svn-fetch's People

Contributors

askelkana avatar lakhanamdhari avatar paulvarache avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grunt-svn-fetch's Issues

Fails in Windows

I think this is related to the way windows os handles arguments.

The pattern --username='newuser' is failing on windows. It rather accepts --username newuser
pattern.

If you want I can send in a pull or would you like to fix it?

arguments without parameters on linux cause svn to fail with message "erroneous argument:"

For example trying to pass the following:
svnOptions: {
'non-interactive': '',
quiet: '',
'trust-server-cert': ''
}

results in the message:
erroneous argument: --non-interactive=
I also tried passing:
svnOptions: {
'non-interactive': 'true',
quiet: 'true',
'trust-server-cert': 'true'
}
which results in the message:
erroneous argument: --non-interactive=true
so svn doesn't want to accept any parameters for these arguments. Instead this package should just pass space delimited arguments when the value being passed is empty.

maxBuffer Error on Check Out

When checking out an SVN repository, if the repository is large enough then the output buffer where the file routes and names are written to will hit the maxBuffer limit. This can be bypassed by modifying the exec() function on line 54 of svn_fetch.js to include a higher value for the maxBuffer variable, but there doesn't seem to be a way of defining it outside of modifying this file

map[path] is undefined

When I run the grunt task with a configuration such as:

svn_fetch: {
    options: {
        repository: 'https://my_repos.com/projectX/trunk/'
        path: '/svn/projectX/src/'
    },
    my_target: {
        map: {
            'folderX': 'SVNFolderX'
        }
    }
}

In function processPath, mapPath[path] is undefined.
As path is set to options.path + path ('/svn/projectX/src/' + 'folderX'), map['/svn/projectX/src/folderX'] is not defined.
The value of map[path] should be stored before adding options.path.

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.