-
Notifications
You must be signed in to change notification settings - Fork 0
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
SVN to GIT #5
Open
matyaskopp
wants to merge
54
commits into
main
Choose a base branch
from
svn2git
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
SVN to GIT #5
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
804dd57
remove svn dependencies: change variables, different tool for changel…
matyaskopp aa60ed6
remove endline from version #3
matyaskopp 486180a
update git ignore and add empty directories #3
matyaskopp 490a9bb
fix paths in package patches #3
matyaskopp d37101b
remove temporary archive, fix version comment #3
matyaskopp 4ea449e
remove svn dependency from dep package build #3
matyaskopp 27441e9
remove svn dependency from rpm #3
matyaskopp 1ee67d4
unix_install is not a part of repository - removing "svn update"(/"gi…
matyaskopp 674667d
update main documentation file (#3)
matyaskopp 93ddd87
changelog script clean up #3
matyaskopp 1e9d524
remove repository url from update_version #3
matyaskopp 6abbe40
change SVN_VERSION placeholder to DEV_VERSION #3
matyaskopp a4514b7
use git as a source for unix_install folder #3
matyaskopp dd621bc
fix version in documentation patching #3
matyaskopp 9496fa2
fix comments, remove svn2cl #3
matyaskopp 6ba44e0
change setting for mac #3
matyaskopp 30cded4
fix gitignore #3
matyaskopp 2f3bfe8
force using -std=c89 when compiling Tk::JPEG on macOS #8
matyaskopp 4620b87
add Tk::JPEG patch to configuration #8
matyaskopp ff103fc
extend gitignore
matyaskopp 8fddd1c
use perlbrew in mac releaser (the default perlbrew perl !!!)
matyaskopp d09986d
add missing prerequisity for Test-Simple-1.302204
matyaskopp aa238f3
add missing prerequisity for Tk-CodeText-0.53
matyaskopp f9fb6f4
add missing prerequisity for Tk-CodeText-0.53
matyaskopp 2102913
add missing prerequisity for Syntax-Kamelon-0.25
matyaskopp 02256c4
add missing prerequisity for XML-TokeParser-0.05
matyaskopp 8aa7057
add missing prerequisity for Syntax-Kamelon-0.25 and XML-Parser-2.47
matyaskopp dcc5c56
add missing prerequisity for Template-Toolkit-3.102,XML-Parser-2.47,T…
matyaskopp 4659f4b
add missing prerequisity for Tk-ColorEntry-0.08
matyaskopp a3fb8b8
add missing prerequisity for Convert-Color-0.18
matyaskopp bc41af8
add missing prerequisity for XML-LibXML-2.0210
matyaskopp 4ba7cbd
add missing prerequisity for Alien-Build-2.83
matyaskopp b72aad7
add missing prerequisity for XML-LibXML-2.0210
matyaskopp 5bdba74
add missing prerequisity for Alien-Libxml2-0.19
matyaskopp 79df812
add missing prerequisity for Alien-Build-Plugin-Download-GitLab-0.01
matyaskopp afdd3f4
add missing prerequisity for URI-5.29
matyaskopp 69217a3
add missing prerequisity for Graph-0.9732
matyaskopp 42e89c0
add missing prerequisity for Test-Fatal-0.017
matyaskopp c124607
add missing prerequisity for HTTP-Message-6.46
matyaskopp 3e8736a
add missing prerequisity for Clone-0.47
matyaskopp ca163de
update LWP::UserAgent version
matyaskopp 47ecc1e
prerequisities reorder
matyaskopp 396db70
prerequisities reorder
matyaskopp ef5a4c1
prerequisities reorder
matyaskopp 9c267e8
add missing prerequisity for libwww-perl-6.77 and Alien-Build-2.83
matyaskopp 493ace2
prerequisities reorder
matyaskopp ff83555
prerequisities reorder
matyaskopp 961b979
prerequisities reorder
matyaskopp 28491c4
add missing prerequisity for Alien-Build-2.83
matyaskopp 4493e6c
add missing prerequisity for HTML-Parser-3.83
matyaskopp 2d6ea52
add info prints
matyaskopp 9581aa8
Merge branch 'svn2git' of github.com:ufal/TrEd into svn2git
74e21c5
use old TK-CodeText version (newer has Imager-Screenshot dependency, …
matyaskopp cba5c9f
fix c-header path on MacOS
matyaskopp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extensions | ||
local_www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Root dir of the SVN checkout. All dirs are derived from this one | ||
if [ -z "$SVN_DIR" ]; then | ||
SVN_DIR=$(dirname $(dirname $(dirname $(readlink -fen $0)))) | ||
if [ -z "$GIT_DIR" ]; then | ||
GIT_DIR=$(dirname $(dirname $(readlink -fen $0))) | ||
fi | ||
|
||
|
||
# Installation prefix -- documentation goes to $INSTALL_BASE/doc, | ||
# binaries go to $INSTALL_BASE/exec, | ||
# libraries go to $INSTALL_BASE/lib, | ||
# extensions to $INSTALL_BASE/share | ||
INSTALL_BASE=${SVN_DIR}/local_install | ||
INSTALL_BASE=${GIT_DIR}/local_install | ||
|
||
# Local (source) web tree | ||
WWW=${SVN_DIR}/local_www | ||
WWW=${GIT_DIR}/local_www | ||
export TREDWWW=$WWW | ||
|
||
# Remote web tree (of the testbed) | ||
|
@@ -24,12 +24,13 @@ REMOTE_WWW=${TESTING_SERVER}:/var/www/tred/testbed | |
# The selected user should log there without password (by certificate) | ||
LOGIN_NAME=tred | ||
|
||
PYTHON_ENV=${GIT_DIR}/virtualenv | ||
|
||
# TrEd project direcotry (from which Makefile is executed) | ||
PROJECT_DIR=${SVN_DIR}/trunk | ||
PROJECT_DIR=${GIT_DIR} | ||
|
||
# Log for svn checkouts and exports during make | ||
LOG=$SVN_DIR/trunk/make_log | ||
LOG=$GIT_DIR/make_log | ||
|
||
TRED_HOME_URL="http://ufallab.ms.mff.cuni.cz:24080/tred/testbed" | ||
TRED_EXTENSIONS_URL="" | ||
|
@@ -68,6 +69,10 @@ TRED_SVN_EXT=${TRED_SVN}/extensions | |
TREEX_PML_REPO=https://svn.ms.mff.cuni.cz/svn/perl_libs/trunk/distribution/Treex-PML | ||
WIN32_DIST_REPO=https://svn.ms.mff.cuni.cz/svn/perl_libs/trunk/distribution/win32_build_script | ||
|
||
[email protected]:ufal/TrEd-extensions.git | ||
# https://github.com/ufal/TrEd-extensions.git | ||
|
||
|
||
# PROJECT_DIR=/net/work/projects/tred | ||
ADMIN_DIR=${PROJECT_DIR}/admin | ||
DIST_DIR=${PROJECT_DIR}/dist | ||
|
@@ -91,6 +96,8 @@ LRC_CMD=${ADMIN_DIR}/run_on_lrc | |
|
||
# SVN to ChangeLog conversion | ||
SVN_TO_CHANGELOG=${ADMIN_DIR}/svn2cl/svn2cl.sh | ||
# GIT to ChangeLog conversion | ||
GIT_TO_CHANGELOG=${PYTHON_ENV}/bin/git-changelog | ||
# ChangeLog to RSS conversion | ||
CHANGELOG_TO_RSS=${ADMIN_DIR}/changelog2rss.pl | ||
|
||
|
@@ -104,4 +111,4 @@ CHANGELOG_TO_RSS=${ADMIN_DIR}/changelog2rss.pl | |
[email protected] | ||
MAC_TRED_INSTALLATION='~/tred_installation' | ||
MAC_TRED_INSTALLATION_OLD='~/tred_installation_old' | ||
MAC_SVN_DIR='~/TrEd' | ||
MAC_GIT_DIR='~/TrEd' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,17 @@ if [ -e ${TRED_DIST_DIR}.new ]; then | |
exit 1; | ||
fi && \ | ||
|
||
echo "Exporting svn" && \ | ||
svn export ${TRED_SVN_REPO} ${TRED_DIST_DIR}.new >> $LOG && \ | ||
echo "Exporting git" && \ | ||
##svn export ${TRED_SVN_REPO} ${TRED_DIST_DIR}.new >> $LOG && \ | ||
git -C ${TRED_SRC_DIR} archive --output ${TRED_DIST_DIR}.new.zip HEAD >> $LOG && \ | ||
unzip ${TRED_DIST_DIR}.new.zip -d ${TRED_DIST_DIR}.new >> $LOG && \ | ||
# updates TrEd version in dist/tred.new/tredlib/TrEd/Version.pm according to svn version to 1.#svn_version# | ||
${TRED_DIST_DIR}.new/devel/update_version.pl ${TRED_SVN_REPO} && \ | ||
|
||
echo "Updating extensions" && \ | ||
echo "WARN: Skipping updating extensions" && \ | ||
#echo "Updating extensions" && \ | ||
# perform pre-updates, update svn, then some post-updates for extension (currently only for tmt) according to extension/.make.d directory | ||
${TRED_EXT_DIR}/update && \ | ||
#${TRED_EXT_DIR}/update && \ | ||
Comment on lines
+23
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does skipping the update mean? |
||
|
||
cp ${TRED_SRC_DIR}/ChangeLog ${TRED_DIST_DIR}.new/ && \ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,14 +34,9 @@ | |
my $version_file = File::Spec->rel2abs('../tredlib/TrEd/Version.pm',$rb); | ||
|
||
die "Did not find $version_file!" if !-f $version_file; | ||
# You'd better pass an arg to set this or this may fail in the future | ||
my $REPO = shift || 'https://svn.ms.mff.cuni.cz/svn/TrEd_refactored/tred_refactored/'; | ||
|
||
my $svn_version = `svn info "$REPO" |grep "^Revision:" |cut -f2 -d:`; | ||
my $updated_version = sprintf("%04d", $svn_version); | ||
my $VER = '2.' . $updated_version; | ||
chomp $VER; | ||
$VER=~s/\s+//g; | ||
|
||
my $git_date = `git log -1 --date=format:"\%Y\%m\%d" --format="%ad"`; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Backslashes not needed. |
||
my $VER = '3.' . $git_date; | ||
|
||
print $VER,"\n" unless $opts{'quiet'}; | ||
print STDERR "TrEd::Version: $version_file\n" if $opts{debug}; | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the comments, too.
s/SVN/git/