Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aurélien
backupninja
Commits
c0c02efa
Commit
c0c02efa
authored
Sep 12, 2010
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
rdiff: support reading include/exclude patterns from files.
parent
34e439ea
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
AUTHORS
+1
-1
1 addition, 1 deletion
AUTHORS
ChangeLog
+7
-0
7 additions, 0 deletions
ChangeLog
handlers/rdiff.in
+8
-2
8 additions, 2 deletions
handlers/rdiff.in
with
16 additions
and
3 deletions
AUTHORS
+
1
−
1
View file @
c0c02efa
...
@@ -21,7 +21,7 @@ garcondumonde@riseup.net
...
@@ -21,7 +21,7 @@ garcondumonde@riseup.net
Martin Krafft madduck@debian.org -- admingroup patch
Martin Krafft madduck@debian.org -- admingroup patch
Anarcat -- lotsa patches
Anarcat -- lotsa patches
Jamie McClelland -- cstream patches
Jamie McClelland -- cstream patches
ale -- ldap cleanup
ale -- ldap cleanup
, rdiff support for reading include/exclude from files
Sami Haahtinen <ressu@ressukka.net>
Sami Haahtinen <ressu@ressukka.net>
Matthew Palmer -- mysql enhancements
Matthew Palmer -- mysql enhancements
romain.tartiere@healthgrid.org -- ldap fixes
romain.tartiere@healthgrid.org -- ldap fixes
...
...
This diff is collapsed.
Click to expand it.
ChangeLog
+
7
−
0
View file @
c0c02efa
version 0.9.9 -- UNRELEASED
handler changes
rdiff:
. Support reading include/exclude patterns from files using the
"include @/etc/backup_includes" syntax (Closes Roundup bug
#2370). Thanks to ale for the patch.
version 0.9.8 -- September 12, 2010
version 0.9.8 -- September 12, 2010
backupninja changes
backupninja changes
. Added GZIP_OPTS option, defaulting to --rsyncable, so that this
. Added GZIP_OPTS option, defaulting to --rsyncable, so that this
...
...
This diff is collapsed.
Click to expand it.
handlers/rdiff.in
+
8
−
2
View file @
c0c02efa
...
@@ -219,7 +219,10 @@ SAVEIFS=$IFS
...
@@ -219,7 +219,10 @@ SAVEIFS=$IFS
IFS
=
$(
echo
-en
"
\n\b
"
)
IFS
=
$(
echo
-en
"
\n\b
"
)
for
i
in
$exclude
;
do
for
i
in
$exclude
;
do
str
=
"
${
i
//__star__/*
}
"
str
=
"
${
i
//__star__/*
}
"
execstr
=
"
${
execstr
}
--exclude '
$str
' "
case
"
$str
"
in
@
*
)
execstr
=
"
${
execstr
}
--exclude-globbing-filelist '
${
str
#@
}
' "
;;
*
)
execstr
=
"
${
execstr
}
--exclude '
$str
' "
;;
esac
done
done
IFS
=
$SAVEIFS
IFS
=
$SAVEIFS
# includes
# includes
...
@@ -228,7 +231,10 @@ IFS=$(echo -en "\n\b")
...
@@ -228,7 +231,10 @@ IFS=$(echo -en "\n\b")
for
i
in
$include
;
do
for
i
in
$include
;
do
[
"
$i
"
!=
"/"
]
||
fatal
"Sorry, you cannot use 'include = /'"
[
"
$i
"
!=
"/"
]
||
fatal
"Sorry, you cannot use 'include = /'"
str
=
"
${
i
//__star__/*
}
"
str
=
"
${
i
//__star__/*
}
"
execstr
=
"
${
execstr
}
--include '
$str
' "
case
"
$str
"
in
@
*
)
execstr
=
"
${
execstr
}
--include-globbing-filelist '
${
str
#@
}
' "
;;
*
)
execstr
=
"
${
execstr
}
--include '
$str
' "
;;
esac
done
done
IFS
=
$SAVEIFS
IFS
=
$SAVEIFS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment