askelkana / grunt-svn-fetch Goto Github PK
View Code? Open in Web Editor NEWGruntJS plugin to ensure specified files are checked out or updated from SVN repository.
License: MIT License
GruntJS plugin to ensure specified files are checked out or updated from SVN repository.
License: MIT License
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?
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.