Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
agkyra
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
agkyra
Commits
75d17806
Commit
75d17806
authored
9 years ago
by
Giorgos Korfiatis
Browse files
Options
Downloads
Patches
Plain Diff
Sketch of syncing description
parent
0d59ace8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/user_guide/source/index.rst
+1
-0
1 addition, 0 deletions
docs/user_guide/source/index.rst
docs/user_guide/source/syncing.rst
+59
-0
59 additions, 0 deletions
docs/user_guide/source/syncing.rst
with
60 additions
and
0 deletions
docs/user_guide/source/index.rst
+
1
−
0
View file @
75d17806
...
...
@@ -26,6 +26,7 @@ Contents:
gui
cli
settings
syncing
troubleshooting
Indices and tables
...
...
This diff is collapsed.
Click to expand it.
docs/user_guide/source/syncing.rst
0 → 100644
+
59
−
0
View file @
75d17806
Syncing files with Agkyra
=========================
Overview
--------
Agkyra will synchronize a local directory on your computer with a container
on your Pithos account. When you initialize a sync, Agkyra will download any
files and directories missing from the local directory, and upload any
missing from the Pithos container.
Agkyra will continuously observe your local file system and your Pithos
account for changes (new, modified or deleted files or directories) and do
the necessary transfers in order to make sure that your local directory and
your Pithos container will always be in sync.
What files are exempted
-----------------------
On your local directory, Agkyra creates directory `.agkyra_cache` during
initialization. This is used to temporarily store files during the process
of upload/download, and is not synced itself.
Applications sometimes make temporary files during their execution. Agkyra
recognizes certain filename patterns as indicative of temporary files and
does not sync them. Examples are files beginning with `.#` or `.~`, or
ending with `~`.
Resolving conflicts
-------------------
Agkyra takes care to preserve changes that appear either upstream or on the
local directory. If a file has changed both upstream and on your local
directory since the last successful synchronization, there is a confict
because Agkyra doesn't know how to merge these changes. It chooses to
download the upstream file, but also preserve the locally changed file, with
name `<filename>_<timestamp>_<computername>`, which at the next syncing step
will be uploaded, too.
Handling special files
----------------------
Only regular files and directories are synced upstream. Unix-style symbolic
links found on the local directory are not synced. However, if a namesake
regular file is found upstream and must be downloaded, Agkyra takes care to
resolve this conflict and preserve the existing symbolic link as above.
Note that handling Unix-style hard links is not supported.
Case-sensitivity
----------------
Pithos object-storage is case sensitive. This means that, for example, files
`filename` and `FileName` can appear upstream at the same time. Windows and
OSX filesystems are not case sensitive, and cannot store two files whose
name differ only by case. If such files appear upstream, then the first one
is downloaded as usually while the second one causes a conflict and is
stored with a conflict name, as explained above. At the next syncing
iteration, the name change will be propagated upstream.
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