Git Product home page Git Product logo

git-unity-as's Introduction

git-unity-as

git fast-import converter for Unity Asset Server databases. Tracks changelists for incremental exports.

Requirements

Developed with Python 2.7; relies on the psycopg2 Python module.

MacOS

  1. Install postgresql. I recommend the hombrew approach ("brew install postgresql")
  2. Install psycopg2 python module. "sudo pip install psycopg2" (if you don't have pip, "sudo easy_install pip" first)

Windows

Usage

Basic example

mkdir myassetserverproject-git
cd myassetserverproject-git
git init
git-unity-as.py --username USERNAME DBNAME | git fast-import
git checkout master

git-unity-as.py options

Option Description
DBNAME Name of the AssetServer database to export
-h, --help show extended help message and exit
--username USERNAME (Required) Database user with read access to specified database.
--password PASSWORD Password for specified database user.
--host HOST AssetServer database host (default: localhost)
--port PORT AssetServer database port (default: 10733)
--init Resets and exports from the initial changeset.
--no-data Do not output asset version data (for debugging).
--branch BRANCH, -b BRANCH Target export to specified branch. (default: master)

Incremental updates

By default, git-unity-as.py will save the last changelist exported from the given database, so back-to-back imports will be incremental by default. Use --init to re-export the entire database.

Contributors

Email [email protected] with feedback/suggestions.

git-unity-as's People

Contributors

stephen-palmer avatar

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.