wdas / reposado

Host Apple Software Updates on the hardware and OS of your choice.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FeatureRequest: MultiLingualVoice

tobs-ch opened this issue · comments

i'd like to have an option to skipt downloading all but some of the "MultiLigualVoice_xx_xx" and "MLVUpdate_xx_xx" files.

I'm downloading since 14 hours and i'm far from finishing !!

looking at my repo, the files actually to handle are

  • MultiLingualVoice_cc_CC_name
  • MLV_cc_CC_name
  • MLVUpdate_cc_CC_name
  • SpeechRecognitionCoreLanguage_cc_CC

something like

<key>OnlyVoices</key>
<array>
  <string>de_DE</string>
  <string>en_US</string>
</array>

I have no plans to do this -- the names and pkgids and all that sort of thing could change at any time; there's no reliable way to do this.

You could set up one reposado instance that doesn't replicate downloads; just catalogs.
You could then create branch catalogs that contain the items you wish to actually replicate.
A second reposado instance could then be pointed to the branch catalogs of the first; since the catalogs would not contain references to the items you don't want to download, those items would not be downloaded.

Alternately: Reposado is written in Python -- you can fork it ad add any logic you like.

Am 31.10.2014 um 23:54 schrieb Greg Neagle:

I have no plans to do this -- the names and pkgids and all that sort of thing could change at any time; there's no reliable way to do this.

a good argument.

You could set up one reposado instance that doesn't replicate downloads; just catalogs.
You could then create branch catalogs that contain the items you wish to actually replicate.
A second reposado instance could then be pointed to the branch catalogs of the first; since the catalogs would not contain references to the items you don't want to download, those items would not be downloaded.

actually i have a cron job to sync once a week. usualy a nightly job,
but not today as these voice-files are very huge. with your proposal i
would have to check the catalogs manualy every week.

Alternately: Reposado is written in Python -- you can fork it ad add any logic you like.

i'm not familiar with python. but i'll have a closer look at the
sources. maybe this will become my first python project...

thanks for your reply
tobias

tobias.gasser@ebp-gasser.ch
ebp gasser, winkel 6, ch-4208 nunningen
tel +41 61 793 0099 / mobil +41 79 320 8780