[snapshot/master] Fix typo; replace mirrorun with mirrorrun
---
OLD/import-mirror | 2 +-
README | 6 +++---
misc/dump-tools/add-new-dumps-to-git | 2 +-
snapshot | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/OLD/import-mirror b/OLD/import-mirror
index e62db33..efe56ff 100755
--- a/OLD/import-mirror
+++ b/OLD/import-mirror
@@ -86,7 +86,7 @@ class NodeManager
insert_tree(path)
end
- # Add a new mirror run entry into the mirrorun table,
+ # Add a new mirror run entry into the mirrorrun table,
# verifying that this run is strictly later than any previously imported runs.
# sets @previous_run and @mirror_run to the appropriate values.
def new_mirror_run(archive, date)
diff --git a/README b/README
index 25e1ef4..c02d0fb 100644
--- a/README
+++ b/README
@@ -34,7 +34,7 @@ The way snapshot currently stores data is actually quite simple:
- The rest is stored in a postgresql database. This database has a
concept of an _archive_ ("debian", "debian-security", "backports.org",
- etc.). Each archive has any number of _mirrorun_ entries. These
+ etc.). Each archive has any number of _mirrorrun_ entries. These
correspond to one import of that mirror into the database.
An actual represented filesystem tree consists of _node_s. Each node
@@ -52,8 +52,8 @@ The way snapshot currently stores data is actually quite simple:
order to reconstruct the original filesystem structure. A node
also contains pointers to the first and the last mirrorrun it appeared
in. Some files, like Packages.gz files, will probably only exist
- for a single mirrorun while other files like actual packages or
- the root directory (/) exist for many, or even all of the mirroruns
+ for a single mirrorrun while other files like actual packages or
+ the root directory (/) exist for many, or even all of the mirrorruns
for a given archive.
diff --git a/misc/dump-tools/add-new-dumps-to-git b/misc/dump-tools/add-new-dumps-to-git
index 7e1c0f4..ff3e10e 100755
--- a/misc/dump-tools/add-new-dumps-to-git
+++ b/misc/dump-tools/add-new-dumps-to-git
@@ -149,7 +149,7 @@ try:
fn = os.path.join(tmpdir, "%d"%(row['mirrorrun_id']))
- # dump mirrorun to fn
+ # dump mirrorrun to fn
c = [options.snapshot, '-c', options.conffile, '--mirrorrun', '%d'%(row['mirrorrun_id'])]
if options.verbose: c.append('--verbose')
c.append('dump')
diff --git a/snapshot b/snapshot
index 6548fb6..25191ce 100755
--- a/snapshot
+++ b/snapshot
@@ -298,7 +298,7 @@ class FSNode
end
def update_boxed(db, table, whereclause, whereparams, isrootdir)
- # if we have a mirrorun in the past and one in the future
+ # if we have a mirrorrun in the past and one in the future
# then this element might already be covered by a node that starts
# in the past and ends in the future.
query = "DELETE FROM nodes_window USING #{table}
--
1.7.2.5
Reply to: