Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Pack200'd artifacts w/o unpacked ones?

What's the best way to suggest an includeOnlyPackedArtifacts=true or
excludeUnpackedArtifactIfPackedArtifactAvailable=true option when
building an update site (p2 repo) with Tycho?

bugzilla? mailing list? PR against github repo?

On Tue, Sep 29, 2015 at 11:40 AM, Nick Boldt <nickboldt@xxxxxxxxx> wrote:
> It's more load on the client if you're installing from an offline
> update site zip which includes both packed and unpacked artifacts,
> because the zip is 40% larger than it needs to be. Users would be
> downloading both sets of artifacts, then only ever using the pack.gz
> ones.
>
> So your suggestion is build the site w/ all the jars (packed and
> unpacked) then use p2.mirror to create a new, second site which
> filters out the unpacked ones? I suppose that would be better than
> building the whole site a second time (minus the profile to enable
> pack200) and getting a timestamp that's a few minutes later.
>
> On Tue, Sep 29, 2015 at 11:22 AM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
>> not that I know of.
>> the mirror tool [1] also only has the option to include/exclude packed
>> files (in addition to jars).
>>
>> BTW if I remember correctly the packed archive is the first one that is
>> tried to be downloaded by p2 (fallback to plain jar only if no packed
>> version available), so I don't think this will create extra load on the
>> client. Only the server has some more jars which are mostly not needed.
>>
>> Regards,
>> Jan
>>
>> [1] https://wiki.eclipse.org/Tycho/Additional_Tools#mirror_goal
>>
>> On 29/09/15 17:07, "tycho-user-bounces@xxxxxxxxxxx on behalf of Nick
>> Boldt" <tycho-user-bounces@xxxxxxxxxxx on behalf of nickboldt@xxxxxxxxx>
>> wrote:
>>
>>>Is there a way to create an update site with Tycho which EXCLUDES all
>>>the duplicate .jar files for which there's an identical (but
>>>pack200'd) .jar.pack.gz file?
>>>
>>>I'd like to optimize the size of our update sites (and update site
>>>zips) and since no one is still using JDK 1.5 (our users need to be on
>>>JDK 1.8 to use our tools), I figure we no longer need to include the
>>>"backup" jars when there's a perfectly good and better compressed
>>>pack.gz version.
>>>
>>>Had a look at https://wiki.eclipse.org/Tycho/Pack200 but there's no
>>>mention of how to build ONLY the packed jars... just lots of ways to
>>>ADD in the packed jars in addition to the unpacked ones.
>>>
>>>Thanks in advance,
>>>
>>>--
>>>Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat,
>>>Inc.
>>>http://nick.divbyzero.com
>>>_______________________________________________
>>>tycho-user mailing list
>>>tycho-user@xxxxxxxxxxx
>>>To change your delivery options, retrieve your password, or unsubscribe
>>>from this list, visit
>>>https://dev.eclipse.org/mailman/listinfo/tycho-user
>>
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>
> --
> Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.
> http://nick.divbyzero.com



-- 
Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.
http://nick.divbyzero.com


Back to the top