Giter VIP home page Giter VIP logo

gitsvnhack's Introduction

GitSvnHack is (or will be) a set of tools for managing git-svn repositories with svn:externals.

License: GPL version 3 or any later version

Copyright 2013 Sean Patrick Santos <[email protected]>

Requirements

Known requirements

Python
3.2 or later

Oldest tested versions

Git
1.8.1
Subversion
1.7

Required for tests

  • Python 3.3 or the Python mock library.

To-do list

Wrap more git-svn commands

  • [-] init
    • [X] Add interface.
    • [X] Add implementation.
    • [ ] Write –ignore-revs information to the config file.
      • [ ] Create GitSvnRepo object from an existing repo.
    • [X] Create options object.
  • [ ] fetch
  • [X] clone
    • [X] Handle -s option properly.
    • [X] Handle -r option properly.
  • [ ] rebase

Major features

  • [ ] Look at the output from git-svn to make sure I really have all the options in the wrappers.
  • [ ] Get clones of git-svn repositories working (creating a clone with the Subversion repository as upstream, not the git-svn one).
  • [ ] Split out subdirectories as if they were externals.
  • [ ] The actual external handling.
  • [ ] Handle svn:ignore.
  • [ ] Implement “check” to guarantee that revisions of the trunk and/or tags in Subversion are actually identical to the checked-out tags in Git.
  • [ ] Read/write of “mapping” configuration files between git and svn.
  • [ ] Multiple Subversion repos for one GitSvnRepo.

Migration

  • [ ] Create a “migrate” command to convert svnhack’s external handling to submodules.
  • [ ] Handle authors file.
  • [ ] Convert svn:ignore to .gitignore.

User interface

  • [ ] Error messages for common problems with options.
    • [ ] Missing required non-option arguments (i.e. catch IndexError if you try to call commands.init with no path).
    • [ ] Missing layout option for init/clone (-T or -s).
    • [ ] Specifying an argument multiple times (e.g. -r for clone).
  • [ ] Fix passing an empty string to an option (if git-svn allows this?).
  • [ ] Allow full URL arguments to -T/-t/-b.
  • [ ] Allow –ignore-revs to contain ranges (and be specified multiple times?).
  • [ ] Create man page.

Miscellany

  • [ ] Read git-svn sections of config file rather than using a separate file for GitSvnHack.
    • [ ] Figure out something more correct than looking at “remotes/trunk” in get_svn_revision.

gitsvnhack's People

Contributors

quantheory avatar

Stargazers

 avatar

Watchers

 avatar  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.