groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winnebeck, Jason" <Jason.Winneb...@windstream.com>
Subject RE: [ANN] Groovy VFS 1.0 Beta 3
Date Wed, 24 Jun 2015 14:32:29 GMT
This is really cool. It looks like jsch is the base of SSH support - is it possible to use
jsch-agent-proxy to authenticate via pageant/ssh-agent? I couldn't see anything obvious here
http://ysb33r.github.io/groovy-vfs/1.0-beta3/docs/product-documentation.html#_protocol_options

Jason

From: Schalk Cronjé [mailto:ysb33r@gmail.com]
Sent: Wednesday, June 24, 2015 9:38 AM
To: users@groovy.incubator.apache.org
Subject: [ANN] Groovy VFS 1.0 Beta 3

Finally got around to make the third 1.0 pre-release of Groovy VFS available.

Beta 3, in addition to Beta 1,2  includes:

- Ant-style patterns. When copying files it is possible to do something like
vfs {
cp 'sftp://user:pass@server/folder', 'ftp://other.server/pub',
recursive: true, overwrite: true,

filter : antPattern {
  include 'file.txt'
  include '**/*.jpg'
  exclude '**/foo*.jpg'
}
}
- This means that the newly-added VfsCopy task for the associated Gradle plugin will be able
to do the same and thereby mimic existing Copy task behaviour

- Website (Yes, it has one now, all built with Asciidoctor): http://ysb33r.github.io/groovy-vfs

- Codebase: https://github.com/ysb33r/groovy-vfs/tree/RELEASE_1_0_BETA3<https://github.com/ysb33r/groovy-vfs/tree/RELEASE_1_0_BETA_1>

Beta 3, already included:

- Use of 'uri' keyword to disambiguate URIs on certain circumstances

- resolveURI is now public method, making it available to the DSL and for people who need
an easy way of getting hold of the underlying Apache VFS FileObject instance.

- Ability to send arbitrary text to a remote file (from feedback at Gro0vy-Grails Exchange
2014).
vfs {
overwrite 'sftp://user:pass@server/file' with 'this text'

append 'sftp://user:pass@server/file' with 'this text'

overwrite 'sftp://user:pass@server/file' with 'this text', {
// Closure takes an OutputStream
it << 'text'
}
}
- cmdline vfs: mkdir now supports GNU options -p, --parents

- cmdline vfs: mv now supports non-GNU option --parents

- Codebase: https://github.com/ysb33r/groovy-vfs/tree/RELEASE_1_0_BETA_2<https://github.com/ysb33r/groovy-vfs/tree/RELEASE_1_0_BETA_1>

- Those who would like to try out the command-line version, get it at https://bintray.com/ysb33r/nanook/vfs/1.0-beta2/view/files.

Beta 1 already included:

- Ability to load additional providers via an 'extend' keyword in the DSL

extend { provider className: 'org.ysb33r.groovy.vfsplugin.cloud.s3.S3FileProvider', schemes:
['s3'] }
- SMB provider based upon jCIFS. (Thanks to Maarten Boekhold for trying out the initial codebase
some time ago)

- S3 provider based on jClouds. This will give the ability to provide VFS support to other
cloud offerings too.

- Command-line utility mimicking GNU 'cp'. 'mv', 'mkdir', 'ls' and 'cat' commands.

- Gradle plugin built against v2.0 utilising Groovy 2.3.x and as such now using @CompileStatic
etc.

- Ability to turn off intermediates creation when creating a directory

I expect for some bugs to appear especially in SMB & S3 support, so please feel free to
log them at

    https://github.com/ysb33r/groovy-vfs/issues



--

Schalk W. Cronjé

Twitter / Ello / Toeter : @ysb33r

----------------------------------------------------------------------
This email message and any attachments are for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message and any attachments.

Mime
View raw message