Re: New features: please test!

851 views
Skip to first unread message

Greg Neagle

unread,
Feb 8, 2012, 7:52:54 PM2/8/12
to repo...@googlegroups.com
And still more in current GitHub revision:

repoutil --purge-product all-deprecated
will purge all deprecated products that are not in any branches. Running this on a clone of my current repo freed up tens of gigabytes -- 19GB alone of deprecated Multilingual Voices.

repo_sync --log /path/to/logfile
Redirects all output to /path/to/logfile with timestamps on each line of output.

Alternately, you can specify a logfile in preferences.plist:

<key>RepoSyncLogFile</key>
<string>/path/to/logfile</string>

Currently no log rolling is done, so be careful; this log can grown quite large if you run repo_sync often.

Several changes to repo_sync and repoutil's output.

-Greg


On Feb 8, 2012, at 3:07 PM, Greg Neagle wrote:

> reposado on GitHub now adds two new features:
>
> 1) repoutil --info <product_id> now displays the local filesystem location for the replicated update (if you are replicating)
> 2) repoutil --purge-product <product_id> [<product_id ...] can be used to purge a product from the local database and and local disk storage.
>
> When purging a deprecated product --- it is GONE, FOREVER. Make sure you have working backups if that might present a problem.
>
> Non-deprecated products will be re-downloaded on the next repo_sync.
>
> -Greg

Jared Nichols

unread,
Feb 8, 2012, 7:54:41 PM2/8/12
to repo...@googlegroups.com
Awesome Greg! Do you know offhand if JAMF's appliance is an easy
update by grabbing the git repo and just swapping in the new bits?

Thanks

Jared

Sent from my iPad

Greg Neagle

unread,
Feb 8, 2012, 7:55:54 PM2/8/12
to repo...@googlegroups.com
No idea. I would not do that quite yet, myself...

You might want to ask on JAMFNation.

-Greg

Bernstein, Gary

unread,
Feb 8, 2012, 8:26:04 PM2/8/12
to repo...@googlegroups.com
THANKS!
-Gary

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-- "The reward for work well done is the opportunity to do more."

-- "I tried, but it didn't work" is a lot better than "I wish I'd tried."

Gary R. Bernstein
Interim Assistant Director of FAA IT Services
College of Fine and Applied Arts
University of Illinois - Urbana-Champaign
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

FredP

unread,
Feb 9, 2012, 5:00:29 AM2/9/12
to reposado
Hi Greg!

Did a few tests:
logging using preferences files is OK for repo_sync: date and time for
the beginning and the end is OK
Not sure for the curl errors. You will have to wait...
Also tested repoutil for the command "--purge-product all-deprecated"
and also "--deprecated"
Conditions:
Sources:
'http://swcdn.apple.com/content/catalogs/index.sucatalog',
'http://swcdn.apple.com/content/catalogs/index-1.sucatalog',
'http://swcdn.apple.com/content/catalogs/others/index-
leopard.merged-1.sucatalog',
'http://swcdn.apple.com/content/catalogs/others/index-
snowleopard.merged-1.sucatalog',
'http://swcdn.apple.com/content/catalogs/others/index-
lion-1.sucatalog',
'http://swcdn.apple.com/content/catalogs/others/index-
windows-1.sucatalog',
'http://swcdn.apple.com/content/catalogs/others/index-leopard-
snowleopard.merged-1.sucatalog',
'http://swcdn.apple.com/content/catalogs/others/index-lion-snowleopard-
leopard.merged-1.sucatalog'.

Downloads folder path: /share/MD0_DATA/Web/SWUPD_2012/content/
downloads

Redirected any messages to a text file:
Listing before purge.

061-9169 MacBook Pro EFI Firmware Update
1.9 2010-08-28 (Deprecated)
061-9930 MacBook Air EFI Firmware Update
2.0 2010-12-08 (Deprecated)
041-1085 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1081 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1083 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1043 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1101 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1063 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1067 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1109 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1029 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1053 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1111 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1119 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1089::1 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1047 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1097 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1079 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1071 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1035 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1033 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1129 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1087 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1089 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1069 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1061 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1065 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1024 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1027 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1051 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1117 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1115 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1113 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1059 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1057 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1055 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1105 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1107 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1123 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1121 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1127 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1125 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1045 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1049 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1103 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1093 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1091 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1095 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1099 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1073 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1075 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1077 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1322 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1131 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1133 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1037 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
041-1031 Multi-Lingual Voices
1.0 2011-05-19 (Deprecated)
11C74_ServerAdminTools Server Admin
Tools 10.7.2 2011-10-12
(Deprecated)

Purge!

Removing replicated 041-1093 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/18/43/041-1093...
Removing replicated 041-1091 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/52/53/041-1091...
Removing replicated 041-1097 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/58/02/041-1097...
Removing replicated 041-1095 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/46/08/041-1095...
Removing replicated 11C74_ServerAdminTools (Server Admin Tools-10.7.2)
from /share/MD0_DATA/Web/SWUPD_2012/content/downloads/
60/01/11C74_ServerAdminTools...
Removing replicated 041-1099 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/52/37/041-1099...
Removing replicated 041-1075 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/42/14/041-1075...
Removing replicated 041-1029 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/41/51/041-1029...
Removing replicated 061-9930 (MacBook Air EFI Firmware Update-2.0)
from /share/MD0_DATA/Web/SWUPD_2012/content/downloads/
08/63/061-9930...
Removing replicated 041-1131 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/21/23/041-1131...
Removing replicated 041-1073 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/14/20/041-1073...
Removing replicated 041-1133 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/36/61/041-1133...
Removing replicated 041-1117 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/52/32/041-1117...
Removing replicated 041-1079 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/25/15/041-1079...
Removing replicated 041-1115 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/34/63/041-1115...
Removing replicated 041-1037 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/06/15/041-1037...
Removing replicated 041-1113 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/08/26/041-1113...
Removing replicated 041-1031 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/43/08/041-1031...
Removing replicated 041-1111 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/24/32/041-1111...
Removing replicated 041-1059 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/56/31/041-1059...
Removing replicated 041-1057 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/63/22/041-1057...
Removing replicated 041-1055 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/10/03/041-1055...
Removing replicated 041-1053 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/58/63/041-1053...
Removing replicated 041-1119 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/44/54/041-1119...
Removing replicated 041-1051 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/56/18/041-1051...
Removing replicated 041-1125 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/44/62/041-1125...
Removing replicated 041-1085 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/24/33/041-1085...
Removing replicated 041-1087 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/39/04/041-1087...
Removing replicated 041-1081 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/39/51/041-1081...
Removing replicated 041-1083 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/24/61/041-1083...
Removing replicated 041-1035 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/28/16/041-1035...
Removing replicated 041-1089 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/53/12/041-1089...
Removing replicated 041-1043 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/48/46/041-1043...
Removing replicated 041-1322 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/20/26/041-1322...
Removing replicated 041-1107 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/32/63/041-1107...
Removing replicated 041-1123 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/31/24/041-1123...
Removing replicated 041-1121 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/40/09/041-1121...
Removing replicated 041-1127 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/41/17/041-1127...
Removing replicated 061-9169 (MacBook Pro EFI Firmware Update-1.9)
from /share/MD0_DATA/Web/SWUPD_2012/content/downloads/
08/34/061-9169...
Removing replicated 041-1027 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/34/51/041-1027...
Removing replicated 041-1105 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/23/54/041-1105...
Removing replicated 041-1069 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/44/24/041-1069...
Removing replicated 041-1024 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/49/02/041-1024...
Removing replicated 041-1045 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/30/09/041-1045...
Removing replicated 041-1101 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/06/07/041-1101...
Removing replicated 041-1047 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/36/51/041-1047...
Removing replicated 041-1103 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/09/13/041-1103...
Removing replicated 041-1063 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/50/42/041-1063...
Removing replicated 041-1061 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/26/23/041-1061...
Removing replicated 041-1033 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/53/57/041-1033...
Removing replicated 041-1067 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/11/08/041-1067...
Removing replicated 041-1109 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/06/27/041-1109...
Removing replicated 041-1065 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/48/06/041-1065...
Removing replicated 041-1049 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/32/34/041-1049...
Removing replicated 041-1129 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/63/19/041-1129...
Removing replicated 041-1071 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/37/26/041-1071...
Removing replicated 041-1077 (Multi-Lingual Voices-1.0) from /share/
MD0_DATA/Web/SWUPD_2012/content/downloads/09/04/041-1077...
Building index.sucatalog...
Building index-1.sucatalog...
Building index-leopard.merged-1.sucatalog...
Building index-snowleopard.merged-1.sucatalog...
Building index-lion-1.sucatalog...
Building index-windows-1.sucatalog...
Building index-leopard-snowleopard.merged-1.sucatalog...
Building index-lion-snowleopard-leopard.merged-1.sucatalog...

Listing after Purge
"EMPTY"

Nice to see all of these heavy voices packages disappear from a simple
command.
Will quickly add this to crontab >> Text file. Unless you intend to
also add logging for repoutil :-)

Real great and quick Greg.

PS: for those who would be interested. Using local Apple SUS for
Windows add support for Bootcamp and of course for known apps like
iTunes.
Under Win7, there's a registry key to change:
"
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apple Inc.\Apple Software
Update]
"installed_updates"=hex(7):30,00,36,00,2f,00,30,00,37,00,2f,
00,32,00,30,00,31,\
00,31,00,00,00,41,00,70,00,70,00,6c,00,65,00,20,00,53,00,6f,
00,66,00,74,00,\

77,00,61,00,72,00,65,00,20,00,55,00,70,00,64,00,61,00,74,00,65,00,00,00,32,\
00,2e,00,31,00,2e,00,33,00,00,00,31,00,34,00,2f,00,30,00,36,00,2f,
00,32,00,\
30,00,31,00,31,00,00,00,69,00,54,00,75,00,6e,00,65,00,73,00,20,00,2b,
00,20,\
00,51,00,75,00,69,00,63,00,6b,00,54,00,69,00,6d,
00,65,00,00,00,31,00,30,00,\
2e,00,33,00,00,00,30,00,38,00,2f,00,30,00,36,00,2f,
00,32,00,30,00,31,00,31,\
00,00,00,69,00,54,00,75,00,6e,00,65,00,73,00,20,00,2b,
00,20,00,51,00,75,00,\
69,00,63,00,6b,00,54,00,69,00,6d,00,65,00,00,00,31,00,30,00,2e,
00,33,00,00,\
00,32,00,33,00,2f,00,30,00,34,00,2f,
00,32,00,30,00,31,00,31,00,00,00,53,00,\
61,00,66,00,61,00,72,00,69,00,20,00,35,00,00,00,35,00,2e,00,30,00,2e,
00,35,\
00,00,00,32,00,33,00,2f,00,30,00,34,00,2f,
00,32,00,30,00,31,00,31,00,00,00,\
69,00,54,00,75,00,6e,00,65,00,73,00,20,00,2b,
00,20,00,51,00,75,00,69,00,63,\
00,6b,00,54,00,69,00,6d,00,65,00,00,00,31,00,30,00,2e,00,32,00,2e,
00,32,00,\
00,00,31,00,33,00,2f,00,30,00,33,00,2f,
00,32,00,30,00,31,00,31,00,00,00,69,\
00,54,00,75,00,6e,00,65,00,73,00,20,00,2b,
00,20,00,51,00,75,00,69,00,63,00,\
6b,00,54,00,69,00,6d,00,65,00,00,00,31,00,30,00,2e,00,32,00,2e,
00,31,00,00,\
00,31,00,33,00,2f,00,30,00,33,00,2f,
00,32,00,30,00,31,00,31,00,00,00,53,00,\
61,00,66,00,61,00,72,00,69,00,20,00,35,00,00,00,35,00,2e,00,30,00,2e,
00,34,\
00,00,00,30,00,35,00,2f,00,30,00,33,00,2f,
00,32,00,30,00,31,00,31,00,00,00,\
69,00,54,00,75,00,6e,00,65,00,73,00,20,00,2b,
00,20,00,51,00,75,00,69,00,63,\
00,6b,00,54,00,69,00,6d,00,65,00,00,00,31,00,30,00,2e,
00,32,00,00,00,32,00,\
39,00,2f,00,30,00,31,00,2f,
00,32,00,30,00,31,00,31,00,00,00,69,00,54,00,75,\
00,6e,00,65,00,73,00,20,00,2b,00,20,00,51,00,75,00,69,00,63,00,6b,
00,54,00,\
69,00,6d,00,65,00,00,00,31,00,30,00,2e,00,31,00,2e,
00,32,00,00,00,32,00,31,\
00,2f,00,31,00,32,00,2f,
00,32,00,30,00,31,00,30,00,00,00,69,00,54,00,75,00,\
6e,00,65,00,73,00,20,00,2b,00,20,00,51,00,75,00,69,00,63,00,6b,
00,54,00,69,\
00,6d,00,65,00,00,00,31,00,30,00,2e,00,31,00,2e,
00,31,00,00,00,30,00,38,00,\
2f,00,31,00,32,00,2f,
00,32,00,30,00,31,00,30,00,00,00,69,00,54,00,75,00,6e,\
00,65,00,73,00,20,00,2b,00,20,00,51,00,75,00,69,00,63,00,6b,
00,54,00,69,00,\
6d,00,65,00,00,00,31,00,30,00,2e,00,31,00,00,00,30,00,38,00,2f,
00,31,00,32,\
00,2f,
00,32,00,30,00,31,00,30,00,00,00,53,00,61,00,66,00,61,00,72,00,69,00,\
20,00,35,00,00,00,35,00,2e,00,30,00,2e,00,33,00,00,00,30,00,38,00,2f,
00,31,\
00,32,00,2f,00,32,00,30,00,31,00,30,00,00,00,4d,
00,69,00,73,00,65,00,20,00,\
e0,00,20,00,6a,00,6f,00,75,00,72,00,20,00,42,00,6f,00,6f,
00,74,00,20,00,43,\
00,61,00,6d,00,70,00,00,00,33,00,2e,00,32,00,00,00,30,00,38,00,2f,
00,31,00,\
32,00,2f,00,32,00,30,00,31,00,30,00,00,00,51,00,75,00,69,00,63,00,6b,
00,54,\
00,69,00,6d,00,65,00,00,00,37,00,2e,00,36,00,2e,00,39,00,00,00,00,00
"InstallFolder"="C:\\Program Files (x86)\\Apple Software Update\\"
"default_url"="http://<path_to_your_server>:<port>/
<path_to_your_catalog>/index-windows-1.sucatalog".

In order to shorten paths, I made symbolic links at the root of my
website to remove the path to my catalog: "default_url"="http://
<path_to_my_server>:<port>/index-windows-1.sucatalog".

Greg Neagle

unread,
Feb 9, 2012, 11:34:44 AM2/9/12
to repo...@googlegroups.com
Thanks for the feedback. Appreciated.

I don't think I'll add logging to repoutil, as it's designed to be run manually by an admin.

-Greg

FredP

unread,
Feb 9, 2012, 12:35:58 PM2/9/12
to reposado
Never mind for logging in repoutil, will go on using redirection to
text file when needed.
Sorry for the heavy added report.
A small addition for repo_sync: logging works also fine with the --
recheck command...

Martin van Diemen

unread,
Mar 13, 2012, 4:00:13 AM3/13/12
to repo...@googlegroups.com
Hi Greg,

Is it possible to add all-deprecated to --remove-product so I can remove all deprecated from a branch in stead of purging them?
For example: repoutil --remove-product all-deprecated testing

Thanks,

Martin

Khoury Brazil

unread,
Mar 14, 2012, 12:42:09 AM3/14/12
to repo...@googlegroups.com
Unless there's a good reason not to have it that I'm missing, I'd
agree that this would be a neat feature to have. Currently using a
bash script to rip out all depreciated updates.

Nate

unread,
Mar 14, 2012, 6:43:35 AM3/14/12
to repo...@googlegroups.com
I currently use a bash script that removes any update which matches a keyword.  I can use it to remove all EFI updates, all Deprecated updates or all updates with 'Firmware' in their name.

I think using a keyword like this might find more utility and allow us to rip out all updates with X in the name.  I think a command to remove JUST deprecated updates would be too limited in scope to justify since it can easily be done with bash right now.

Nate

Lars Fronius

unread,
Mar 19, 2012, 5:04:23 AM3/19/12
to repo...@googlegroups.com
Nice Features!
Is it possible to keep repo_sync from redownloading the deprecated updates?

2012/2/9 Greg Neagle <gregn...@mac.com>

Greg Neagle

unread,
Mar 19, 2012, 8:48:20 AM3/19/12
to repo...@googlegroups.com
Once they are deprecated, they aren't in Apple's catalogs (that's actually what deprecated _means_) so there is no way for Reposado to download them anymore. 

Sent from my iPhone

Lars Fronius

unread,
Mar 20, 2012, 12:10:32 PM3/20/12
to repo...@googlegroups.com
Hmm, sounds reasonable. But for me it does not work like that.
I do repo_sync, nothing happens - then I do repoutil --purge-product all-deprecated - some stuff gets deleted (several GB). I do repo_sync again - It loads a bunch of GB from Apples Servers. Afterwards I have +-0GB won/lost. Am I doing it wrong or is it something else?

2012/3/19 Greg Neagle <gregn...@mac.com>

Greg Neagle

unread,
Mar 20, 2012, 12:13:43 PM3/20/12
to repo...@googlegroups.com
I'd like to see some more detail. Can you give an example of a product ID that you've purged and that gets redownloaded?

-Greg
Reply all
Reply to author
Forward
0 new messages