Wow - that is quite a change that I was not aware of. Does this obsolete http-replicator?hielvc wrote:This thread tlks about it some VERY undesirable change in portage behavior

um... I don't see how it would. http-replicator is a means of proxy-caching gentoo packages. It doesn't alter, nor particularly care what's in, any of the packages it caches/proxies. The need that http-replicator satisfies isn't going away. The 'undesirable change' mentioned in the previous post (and related thread) sounds like a hiccup in the transitional phase of the GLEP44 proposal. The GLEP44 itself says this:Wow - that is quite a change that I was not aware of. Does this obsolete http-replicator?
So, no, once the dust settles, we'll all appreciate having http-replicator as much as we currently do. Unless I'm really missing something about all of this.It is important to note that this proposal only deals with a change of the format of the digest and Manifest system.
The problem isn't so much http-replicator, but perhaps it's indexing tool, repcacheman, which seems to fail a lot due to not being able to find MD5's for a lot of packages now - at least that's what I've observed from my own experience within the past month now, and from what I've read from previous posts in this thread.dahoste wrote:um... I don't see how it would. http-replicator is a means of proxy-caching gentoo packages. It doesn't alter, nor particularly care what's in, any of the packages it caches/proxies. The need that http-replicator satisfies isn't going away. The 'undesirable change' mentioned in the previous post (and related thread) sounds like a hiccup in the transitional phase of the GLEP44 proposal. The GLEP44 itself says this:Wow - that is quite a change that I was not aware of. Does this obsolete http-replicator?
So, no, once the dust settles, we'll all appreciate having http-replicator as much as we currently do. Unless I'm really missing something about all of this.It is important to note that this proposal only deals with a change of the format of the digest and Manifest system.
Code: Select all
start() {
ebegin "Starting Http-Replicator"
start-stop-daemon --start --pidfile /var/run/http-replicator.pid --name http-replicator \
--startas /usr/bin/http-replicator -- -s -f --pid /var/run/http-replicator.pid --daemon $DAEMON_OPTS
eend $? "Failed to start Http-Replicator"
}
Code: Select all
start() {
ebegin "Starting Http-Replicator"
start-stop-daemon --start --background --pidfile /var/run/http-replicator.pid --name http-replicator \
--startas /usr/bin/http-replicator -- -s -f --pid /var/run/http-replicator.pid --daemon $DAEMON_OPTS
eend $? "Failed to start Http-Replicator"
}
Code: Select all
root@smoker / # uptime
22:01:56 up 26 days, 19:45, 1 user, load average: 1.10, 1.05, 1.08
root@smoker / #
You rule, boylorenct wrote:Just through I would share this with the rest of you incase you have encountered the same problem...
Then why didn't you report it before today? I'm the maintainer of http-replicator, but I don't read the forums. When you find a problem, please submit a bug so i know about it.Scen wrote: I've searched this solution without results for several months!
OK, that eliminates some possible problems. Then I'll have to say I'm afraid you've found a "feature", not a bug. Well, actually a lack of a featuredalek wrote:I do use the init scripts to stop it. /etc/init.d/http-replicator stop. The mirror varies
Code: Select all
http_proxy="" emerge -f longdownload
Code: Select all
repcacheman
Ooops, I'm sorry. I've corrected my post above but I meant to say replace /usr/bin/repcacheman.pymkzelda wrote:i replaced /usr/bin/repcacheman
Code: Select all
#! /bin/bash
source /etc/conf.d/http-replicator
/usr/bin/repcacheman.py $GENERAL_OPTS
The verbose output is just my debugging going on, it won't be in the final version. I've uploaded beta revision 4.3 that removes the scrolling and fixes the problem in the core code I mentioned earlier.mkzelda wrote:Okay, that worked, with verbose output of the portage tree. Is there a trigger to avoid the verbosity? My server performs slower when outputting scrolling text.
Thanks for asking! I've been trying to decide some possible options to add and who might need them. I also want the greatest possible options for users.mkzelda wrote: I'm wondering how files in the cache are treated. Are they assumed to be good, and thus unchecked? For example, if I have an overlay on another machine that my server does not, the files it grabs are stored in the cache as they are fetched, and they remain there indefinitely? So, can I put any files in the cache that my client machines might fetch, such as livecd .iso's, and so long as the client used wget with http_proxy specified it can fetch that locally?
Code: Select all
## Local dir to serve clients. Great for serving binary packages
## See PKDIR and PORTAGE_BINHOST settings in 'man make.conf'
## --alias /path/to/serve:location will make /path/to/serve
## browsable at http://http-replicator.com:port/location
DAEMON_OPTS="$DAEMON_OPTS --alias /var/tmp/packages/All:All"
Code: Select all
mv /var/cache/http-replicator/* /var/tmp/distfiles/
repcacheman
rm -rf /var/tmp/distifles/*

Yes, I remembergolding wrote:flybynite
I do not know if this is a bug, however, I thought you might like to know.