Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revised README.md #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions README

This file was deleted.

71 changes: 71 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# README

This repository contains the meta-data used to convert the Scribus SVN
(svn://scribus.net) repository to Git.

The trunk and all branches and tags are imported from SVN into Git.

The SVN repository contains an additional folder "Scribus" at the
project root. This folder is skipped during conversion, so that the
programm sources appear in the repository root.

The `git_repo_init.sh` script configures an empty Git repository to
receive the SVN commits.

The `update_from_svn.sh` script pulls new commits from SVN, creates Git
tags from SVN tags and pushes the result to the configured "origin"
Git remote repository.


## How to set-up

Each developer who takes care of synchronizing the Scribus Github repository with the Scribus SVN repository has to:

1. Make sure you have git-svn installed (and git, for course).
2. Clone chitz' script's repository:

[email protected]:chhitz/scribus_svn_git.git

3. Use the provided scripts to initialize and update the repository.

Once you have the scripts you:

1. create empty git repository

git init <nice_name>

2. move into the git repository

cd <nice_name>

3. initialize git svn

./path/to/git_repo_init.sh

4. configure remote Git server

git remote add origin [email protected]:scribusproject/scribus.git

5. import svn into git

./path/to/update_from_svn.sh

git will start downloading files from the Scribus svn repository. It will take a long while for the first sync.

## How to update

Once you have synchronized the repository once, it's just a matter of running the `update_from_svn.sh` script from inside of the repository.

## Caveat

All SVN commiters need to be listed in `svn_authors.txt`. A missing
author will lead to an error:

Author: <username> not defined in /path/to/svn_authors.txt file

In this case, add the new commiter to the `svn_authors.txt` file with
the following format:

username = Full Name <[email protected]>

and re-run the import.