Giter Club home page Giter Club logo

ftpbcm's Introduction

FtpBCM

Tool for binary control management over ftp

When you have a large project in dependencies, and you dont need to modify it constantly, then its much faster to build it just once on every revision, put the binaries on ftp server and then get in from ftp when you need it on other host.

# Somewhere in the build script...
from ftpBCM import ftpBCM

# init BCM
bcm = ftpBCM.FtpBCM('ftp server', 'user', 'password', 'project name')

# When we need to build project's new revision, first we check if it already exists on server
if bcm.pull(path_to_project_binaries_for_platform_desktop_x86, project_source_revision, 'desktop_debug_x86'):
	print('Your project binaries were successfully pulled from ftp server')
	return

# if not, then just build it.....

# When we've got binaries we push it server
bcm.push(path_to_project_binaries_for_platform_desktop_x86, project_source_revision, 'desktop_debug_x86')

# Now we have project's binaries on ftp, so next time we will not build it.

Or the same commands from commandline:

python ftpBCM.py push server path project_source_revision 'desktop_debug_x86' --user user --passwd password --project project_name

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.