Re: icla-completed.pdf and icla-completed.pdf.asc renamed in svn
On Thu, Sep 29, 2016 at 7:30 PM, Craig Russell wrote: > I know we discussed this but I’d like to rename the files to > icla.pdf and icla.pdf.asc when secmail copies the files to documents/iclas/. > > I see where the files are added but can’t figure out how to rename them when > committing them to svn. > > # create/add file(s) > dest = message.write_svn("#{dir}/iclas", @filename, @selected, @signature) OK, I modified write_svn to take a hash of attachment names => file names. https://github.com/apache/whimsy/commit/957314eb25de9b290ebddb26da92f6b600c32abb Let me know if I broke anything. :-) - Sam Ruby
icla-completed.pdf and icla-completed.pdf.asc renamed in svn
I know we discussed this but I’d like to rename the files to icla.pdf and icla.pdf.asc when secmail copies the files to documents/iclas/. I see where the files are added but can’t figure out how to rename them when committing them to svn. # create/add file(s) dest = message.write_svn("#{dir}/iclas", @filename, @selected, @signature) # Show files to be added svn 'status', "#{dir}/iclas" # commit changes svn 'commit', "#{dir}/iclas/#{@filename}#{fileext}", '-m', "ICLA from #{@pubname}" Craig L Russell Architect craig.russ...@oracle.com P.S. A good JDO? O, Gasp!