summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2005-03-15 00:22:35 +0000
committerJason Woodward2005-03-15 00:22:35 +0000
commitc09af801d0db6f352a0ffa25ac2414f3bdd01ab5 (patch)
treeb73563e00371a731d421f4a476b6ecb2579d9239
parent5703aa462f1fd3bcca46ba0b450f57704900bbdf (diff)
downloadslapt-get-c09af801d0db6f352a0ffa25ac2414f3bdd01ab5.tar.gz
added FAQ about mirror failover
-rw-r--r--ChangeLog2
-rw-r--r--FAQ17
-rw-r--r--FAQ.html17
-rw-r--r--README4
4 files changed, 37 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b834eb..75abb3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,5 @@
-0.9.9j Mar 13, 2005
+0.9.9j Mar 14, 2005
* added CURLOPT_FILETIME to libcurl calls so that ftp transfers have the
modification date for checking whether the source is new or not (as
opposed to the file size).
diff --git a/FAQ b/FAQ
index 5f9a791..14de585 100644
--- a/FAQ
+++ b/FAQ
@@ -50,6 +50,7 @@ Frequently Asked Questions:
47. How can I downgrade a package?
48. How can I search the contents of a package for a file or library?
49. Will slapt-get support a --compile like option for slackbuilds?
+50. What about mirror fall back / failover ?
@@ -1075,3 +1076,19 @@ Frequently Asked Questions:
http://www.tenboard.com/slackware/index.php?path=SlackBuilds/
+50. What about mirror fall back / failover ?
+
+ This functionality is not build into slapt-get. Adding multiple sources to
+ the same package source at different mirror locations doesn't buy you auto-
+ matic failover. It will provide you with duplicate package listings.
+
+ Instead, you can specify an alternate config file and fall back on it in the
+ event your default or original configuration contains sources that are not
+ available. For example:
+
+ slapt-get --update || slapt-get --config /etc/slapt-get/alternaterc --update
+
+ This will allow you to check backup package sources in the event your primary
+ are not available.
+
+
diff --git a/FAQ.html b/FAQ.html
index 5b896bf..be8b7db 100644
--- a/FAQ.html
+++ b/FAQ.html
@@ -64,6 +64,7 @@
<a href="#slgFAQ47">47. How can I downgrade a package?</a>
<a href="#slgFAQ48">48. How can I search the contents of a package for a file or library?</a>
<a href="#slgFAQ49">49. Will slapt-get support a --compile like option for slackbuilds?</a>
+<a href="#slgFAQ50">50. What about mirror fall back / failover ?</a>
@@ -1089,6 +1090,22 @@
<a href="http://www.tenboard.com/slackware/index.php?path=SlackBuilds/">http://www.tenboard.com/slackware/index.php?path=SlackBuilds/</a>
+<a name="slgFAQ50"><b>50. What about mirror fall back / failover ?</b></a>
+
+ This functionality is not build into slapt-get. Adding multiple sources to
+ the same package source at different mirror locations doesn't buy you auto-
+ matic failover. It will provide you with duplicate package listings.
+
+ Instead, you can specify an alternate config file and fall back on it in the
+ event your default or original configuration contains sources that are not
+ available. For example:
+
+ slapt-get --update || slapt-get --config /etc/slapt-get/alternaterc --update
+
+ This will allow you to check backup package sources in the event your primary
+ are not available.
+
+
</pre>
diff --git a/README b/README
index a3f6cdf..5bda827 100644
--- a/README
+++ b/README
@@ -156,8 +156,8 @@ Table of Contents:
incorporated in order to alleviate this problem.
Please do not add redundant mirror locations to the same release. Mirror
- fall back is not implemented. Also, any time the source url(s) are
- changed, slapt-get --update must be run to update local cache.
+ fall back is not implemented (see FAQ #50). Also, any time the source url(s)
+ are changed, slapt-get --update must be run to update local cache.
If you are getting segfaults, add -g to CFLAGS in the Makefile, change the
DEBUG define in src/main.h to 1, and rebuild ( make clean && make ). Run