On Fri, Oct 1, 2010 at 1:25 PM, Eric Noulard <eric.noul...@gmail.com> wrote:
> 2010/10/1 <fat...@crackmonkey.us>: > > > > Hi list, > > > > I Googled for this but didn't find anything. > > > > CMake is integrating well with Buildbot to make a sort of poor-man's > > build farm. The one thing I can't seem to work out is a crossplatform > > way to upload CPack-built packages (Windows and Linux) to a web server > > (Ubuntu). > > that's true you have file(DOWNLOAD ...) (which internally uses libcurl) > so it should be fairly easy to add file(UPLOAD ...) but currently > AFAIK this does not exists... > may be worth a feature request. > We do not have "file(UPLOAD" but we do have "ctest_submit(FILES ..." -- it is possible to hack together a ctest script that will send a file to a URL via http post like we do with xml files as CDash submissions. Still, it would be a worthy feature request to add this functionality to the cmake file command. Then you could do in one line what it probably takes 20 right now to do with a ctest_submit hack. > > The target web server supports SSH, SCP, DAV and possibly NFS. > > Any ideas? Or should I be asking Buildbot's mailing list? > > I don't know or use buildbot but it appears to be written in python so may > I guess python may be required when using build bot. > May be using some 100% python SSH lib (in order to be cross platform) > like paramiko > (http://www.lag.net/paramiko/) is doable in order to transfer your > files using scp. > > You may call your python scp script from CMake using execute_process > after a find_package(PythonInterp). > > -- > Erk > Membre de l'April - « promouvoir et défendre le logiciel libre » - > http://www.april.org > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake