Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How often do you sync?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
cubancigar11
Guru
Guru


Joined: 10 Jan 2005
Posts: 322

PostPosted: Tue Jul 04, 2006 6:41 am    Post subject: Reply with quote

If I have time, I sync daily. If I dont have time, I safely put it for next day or later. Any sync only brings more programs to compile, and most of the updates are not really needed THAT urgently. So I have marked several packages as very important, such as amaroK etc., and sync with every release of them.

Syncing weekly is enough. Sync daily only because you want to distribute the compilation load over the week, so to say.
_________________
eye-candy is the key to enlightenment
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Tue Jul 04, 2006 7:41 am    Post subject: Reply with quote

I sync both machines at least once every weekend (normally on Sunday after my backups finish).
I also follow the x86 package RSS feed, and if a package I want comes into the tree (like xorg 7), I'll sync then.
I also sync when I'm bored and want something to do ;)
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Tue Jul 04, 2006 9:15 am    Post subject: Reply with quote

On my server/router I have a cronjob that syncs every morning. The PCs behind this server are sync to that server in very different intervals. My own PC daily most times, my girl friend's about twice a month, aswell as her notebook. The third guy in the flat share, whom I persuaded to use gentoo too, has synced once since I installed gentoo for him - that was about 6 month ago :-).
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 606

PostPosted: Tue Jul 04, 2006 9:20 am    Post subject: Reply with quote

Randomly, mostly once in 3 or 4 days, sometimes twice a day other times just once a week...
_________________
Favorite Quote: "The most profound technologies are those that disappear"
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Tue Jul 04, 2006 10:07 am    Post subject: Reply with quote

Well, I developed ViewPortageX (which basically reads in packages.gentoo.org, but has additional cool features) and since I use it my sync-rate has reduced to once every two weeks, because I can see, what is new in portage since my last sync.
Try it out!

http://www.kde-look.org/content/show.php?content=32012
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
Zee
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 213
Location: Podgrad, Slovenia

PostPosted: Tue Jul 04, 2006 1:10 pm    Post subject: Reply with quote

once a month does the trick.
Back to top
View user's profile Send private message
Freman
n00b
n00b


Joined: 04 May 2005
Posts: 27

PostPosted: Tue Jul 04, 2006 1:10 pm    Post subject: Reply with quote

I have one machine that syncs twice daily off an ISP mirror.

I then sync all 48 other machines off that - I think we can all agree that's a fair arrangement (c:
_________________
To err is human... but to trully mess things up you need a computer
Back to top
View user's profile Send private message
mwilliamson
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 83

PostPosted: Tue Jul 04, 2006 1:12 pm    Post subject: Reply with quote

I usually look at http://gentoo-portage.com/Newest for new packages. Then if I see something I want I sync and install it. Sometimes I also do a emerge -pvu world to see whats new after a sync.
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Tue Jul 04, 2006 1:19 pm    Post subject: Reply with quote

mine automagically does apt-get update :D
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 388
Location: @home

PostPosted: Tue Jul 04, 2006 2:29 pm    Post subject: Reply with quote

I sync maybe 2 - 3 times a week. Now in summer it's maybe less often.

I know which packages are outdated but I try to wait until the packages go stabile. I'm lazy my system works and I dont want to break it now. Especially when one has to go working every day and work with pc's etc. You dont want to mess with things if it's not necessary. You get enough of that in the work. Plus one tends to be tired after work.

Just recently I updated system and left the other packages intact. No need to hurry. I do watch the online package database almost daily. It lessens the need to sync.
_________________
Everything can be done. There's just a longer delivery time for impossible projects.
Back to top
View user's profile Send private message
gentoo_lan
l33t
l33t


Joined: 08 Sep 2004
Posts: 887
Location: Osan AB, South Korea

PostPosted: Tue Jul 04, 2006 3:36 pm    Post subject: Reply with quote

I usually try to sync at least once a day.
_________________
Registered Linux user# 375038.
Back to top
View user's profile Send private message
xglad
n00b
n00b


Joined: 13 Aug 2002
Posts: 53
Location: Ft. Lauderdale, FL, USA.

PostPosted: Tue Jul 04, 2006 3:36 pm    Post subject: Reply with quote

I sync twice a week or so to pick up the GLSAs. That kind of sucks on a lot of levels because it would be nice to have daily GLSA updates and I don't need to sync my whole tree that often. Reading through this thread last night and thinking about this problem gave me an idea, albeit a simple one: just the sync ${PORTDIR}/metadata/glsa. This script is still a little rough around the edges.

Code:
#!/bin/bash

DATE="/bin/date"
RSYNC="/usr/bin/rsync"
GLSACHECK="/usr/bin/glsa-check"

source /etc/make.conf &> /dev/null

if [ -z "${SYNC}" ]; then
   SOURCE="rsync://rsync.gentoo.org/gentoo-portage/metadata/glsa/"
else
   SOURCE="${SYNC}/metadata/glsa/"
fi

if [ -z "${PORTDIR}" ]; then
   DEST="/usr/portage/metadata/glsa"
else
   DEST="${PORTDIR}/metadata/glsa"
fi

function get_date() {
  ${DATE} -f $1 +%Y%m%d%H%M%S
}

echo "** $(hostname -f)"
echo
echo "** Fetching remote timestamp"
SCRATCHDIR="$(mktemp -d)"
RSYNC_OPTS="-v ${SOURCE}timestamp.chk ${SCRATCHDIR}"
echo "${RSYNC} ${RSYNC_OPTS}"
if ${RSYNC} ${RSYNC_OPTS}; then
   echo
   REMOTE_TIME="$(get_date "${SCRATCHDIR}/timestamp.chk")"
   LOCAL_TIME="$(get_date "${DEST}/timestamp.chk")"
   if [ "${LOCAL_TIME}" \< "${REMOTE_TIME}" ]; then
      echo "** Syncing ${DEST} against ${SOURCE##*rsync://}"
      RSYNC_OPTS="-avz ${SOURCE} ${DEST}"
      echo "${RSYNC} ${RSYNC_OPTS}"
      if ${RSYNC} ${RSYNC_OPTS}; then
         echo
         echo "** Synced, checking for GLSAs that affect me."
         for glsa in $(${GLSACHECK} -t all); do
            echo ${glsa}
            ${GLSACHECK} -p ${glsa}
            echo
              done
      fi
   elif [ "${LOCAL_TIME}" \> "${REMOTE_TIME}" ]; then
      echo "** The local timestamp is greater than the remote timestamp."
   else
      echo "** Timestamps equal. Nothing to do."
   fi
fi

rm -rf ${SCRATCHDIR}


Thoughts?
Back to top
View user's profile Send private message
kraut
Apprentice
Apprentice


Joined: 03 Jun 2005
Posts: 179

PostPosted: Tue Jul 04, 2006 3:42 pm    Post subject: Reply with quote

xglad wrote:
I sync twice a week or so to pick up the GLSAs. That kind of sucks on a lot of levels because it would be nice to have daily GLSA updates and I don't need to sync my whole tree that often. Reading through this thread last night and thinking about this problem gave me an idea, albeit a simple one: just the sync ${PORTDIR}/metadata/glsa. This script is still a little rough around the edges.

that looks excellent doode, thx a lot!
worx here :P
would be perfect for our rootserver, really!
unfortunately, glsa-check doesnt take kernel updates into account :twisted:
we run a rootserver with hardened kernel, and if hardened-sources are updated, one should do this.
any chance of getting this into your script 8O
maybe additionally syncing the kernel tree, and report the output of emerge -upDv world would be great!
i am sure i could do this myself.. prolly pretty easy copieing some lines of your code.

ah, additionally, we could pipe the output to a file and using SendEmail to file it to our email adress ;)
Back to top
View user's profile Send private message
xglad
n00b
n00b


Joined: 13 Aug 2002
Posts: 53
Location: Ft. Lauderdale, FL, USA.

PostPosted: Tue Jul 04, 2006 4:16 pm    Post subject: Reply with quote

You're welcome. :)

I'll think on the kernel thing a little. That should be pretty easy to hack in though.

This whole thing would be made useless by a --sync-glsas option to emerge. I can't believe that --sync-glsas hasn't been suggested and is pending, or has been dismissed for some reason. I'll research this a little today and look into doing this right (by patching emerge/portage). Surely there is a 500 page flamefest about --sync-glsas that I should be reading. ;)
Back to top
View user's profile Send private message
ddriver
n00b
n00b


Joined: 24 Feb 2005
Posts: 53

PostPosted: Tue Jul 04, 2006 4:19 pm    Post subject: Reply with quote

Once a day via a cron job, followed by an emerge --update --fetchonly world.

My ISP gives me free bandwidth from 00:00 to 06:00 so it's done then.

My other two machines sync from my server as and when required.
Back to top
View user's profile Send private message
kraut
Apprentice
Apprentice


Joined: 03 Jun 2005
Posts: 179

PostPosted: Tue Jul 04, 2006 4:35 pm    Post subject: Reply with quote

xglad wrote:

This whole thing would be made useless by a --sync-glsas option to emerge. I can't believe that --sync-glsas hasn't been suggested and is pending, or has been dismissed for some reason.

well, i cant recall in what manpage i have read it, but it was told that glsa-check should be a part of portage emerge some day.
maybe they were simply thinking to complicated - dunno. an "emerge -glsa" would really be gr8t!

unfortunately, PMs to the glsa user remain unanswered. dunno how to contact those 8O
Back to top
View user's profile Send private message
xglad
n00b
n00b


Joined: 13 Aug 2002
Posts: 53
Location: Ft. Lauderdale, FL, USA.

PostPosted: Tue Jul 04, 2006 4:49 pm    Post subject: Reply with quote

Ah ha. From /usr/lib/gentoolkit/pym/glsa.py (which glsa-check uses):
Code:

# The following planned features are currently on hold:
# - getting GLSAs from http/ftp servers (not really useful without the fixed ebuilds)

I contend that getting the GLSAs from the rsync servers (or http/ftp, whatever) is really useful when the big picture of traffic on the rsync server rotation is considered.
Back to top
View user's profile Send private message
TheWhiteKnight
Apprentice
Apprentice


Joined: 08 Nov 2003
Posts: 180
Location: West Virginia, Ohio, Pennsylvania

PostPosted: Tue Jul 04, 2006 5:31 pm    Post subject: Reply with quote

Only once a week for me here as well. I try to keep myself off of the mirrors so the people who depend on them are not slowed down by me and my sync's. Since this is on one of my 3 home boxes and it is not a high priority, I don't push the sync issue as I would, say if I was running a rack of blades all running Gentoo. Guys who are running Gentoo in their production environment are the only people that I can see who would have a reason to sync on a daily basis. End users "toying around" with a hobby system like myself or the joe-shmoe who compiled it to spite the Winblows users, I cannot see more than once a week (unless a major update or security patch is released). Just my $.02

DDriver, I have never heard of an ISP charging you for bandwidth unless you are using a hosting site and you get charged that way. I have my own .com and I get charged bandwidth above the 100Gb mark per month. Usually you either have broadband and you pay a flat fee for unlimited usage during the billing cycle, OR you have dial up and we all laugh at you. (just kidding). Who is your ISP? < so I know who to stay away from. >
Back to top
View user's profile Send private message
Mark Clegg
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 269
Location: ZZ9 Plural Z Alpha

PostPosted: Tue Jul 04, 2006 5:55 pm    Post subject: Reply with quote

Normally once or twice a week here, I tend to monitor the packages.gentoo.org RSS feed, and base my sync's on when something interesting appears.
Back to top
View user's profile Send private message
dfens
n00b
n00b


Joined: 15 Feb 2006
Posts: 1

PostPosted: Tue Jul 04, 2006 6:23 pm    Post subject: Reply with quote

For those that want to sync regularly without using rsync and be bandwidth friendly,
I can recommend emerge-delta-webrsync.
It uses patches against the webrsync tarball and the daily download is very small.
Check out http://gentoo.osuosl.org/snapshots/deltas/ for typical sizes,
usually no more than 200-300k per day.
Back to top
View user's profile Send private message
pbardet
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2003
Posts: 143
Location: wpg, mb

PostPosted: Tue Jul 04, 2006 6:36 pm    Post subject: Reply with quote

I don't sync. My computer does it for me.
Once a day, at 2am everyday, in root's crontab. Then at 3am, another command sends an email of what needs to be updated, to my gmail account. Very handy to know if I need to update.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1129
Location: Germany

PostPosted: Tue Jul 04, 2006 11:45 pm    Post subject: Reply with quote

pbardet wrote:
I don't sync. My computer does it for me.


Same here. Once a day, my server (a private mirror) syncs and after it has finished the other computers on my network sync from my mirror. Only on my UML installations I sync manually because it's more convenient.
Back to top
View user's profile Send private message
cokehabit
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3302

PostPosted: Wed Jul 05, 2006 12:24 am    Post subject: Reply with quote

wow! overkill!!!!!!!!!!!!!!!!!!!!!!
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Wed Jul 05, 2006 8:50 am    Post subject: Reply with quote

Round about one sync per month. I just sync if there's a new version of my daily use programs. My wife sync's .... hmmm ... no she don't. I do it for her twice a year in addition to the world update. ;)

Never change a running (desktop) system. Of course 24/7 broadband connected systems need updates due to security fixes, but my desktop/notebook? :roll:
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
BRPXQZME
Apprentice
Apprentice


Joined: 23 Mar 2006
Posts: 163
Location: Centreville, VA

PostPosted: Wed Jul 05, 2006 10:28 am    Post subject: Reply with quote

Philantrop wrote:
Same here. Once a day, my server (a private mirror) syncs and after it has finished the other computers on my network sync from my mirror. Only on my UML installations I sync manually because it's more convenient.
Ever consider putting /usr/portage on an NFS partition or something, or just can't do it? Rsyncing a lot is kind of annoying in my experience.
_________________
Firefox is spelled F-i-r-e-f-o-x - only the first letter capitalized (i.e. not FireFox, not Foxfire, FoxFire or whatever else a number of folk seem to think it to be called.) The preferred abbreviation is "Fx" or "fx".

FF = Final Fantasy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum