Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] Bad p2.timestamp in http://download.eclipse.org/releases/2019-03/compositeContent.jar

Hi,

The file http://download.eclipse.org/releases/2019-03/compositeContent.jar currently contains a bad value for p2.timestamp, i.e., 131377961311999999999 is not a long value:

<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='Eclipse Repository'  type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
  <properties size='3'>
    <property name='p2.timestamp' value='131377961311999999999'/>
    <property name='p2.compressed' value='true'/>
    <property name='p2.atomic.composite.loading' value='true'/>
  </properties>
  <children size='3'>
    <child location='https://download.eclipse.org/technology/epp/packages/2019-03/'/>
    <child location='201903081000' />
    <child location='201903011000' />
  </children>
</repository>

This file was apparently edited yesterday.   Given previous typos in these files, I'm a little concerned that the process for updating these is manual and therefore error prone...

Note that the compositeArtifacts.jar has 1313779613119 as the value for the p2.timestamp property:

<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
<repository name='Eclipse Repository'  type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
  <properties size='3'>
    <property name='p2.timestamp' value='1313779613119'/>
    <property name='p2.compressed' value='true'/>
    <property name='p2.atomic.composite.loading' value='true'/>
  </properties>
  <children size='3'>
    <child location='https://download.eclipse.org/technology/epp/packages/2019-03/'/>
    <child location='201903081000' />
    <child location='201903011000' />
  </children>
</repository>

Also note that for RC2 the corresponding file compositeContentRC2.jar looks like this:

<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='Eclipse Repository'  type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
  <properties size='3'>
    <property name='p2.timestamp' value='1313779613120'/>
    <property name='p2.compressed' value='true'/>
    <property name='p2.atomic.composite.loading' value='true'/>
  </properties>
  <children size='4'>
    <child location='https://download.eclipse.org/technology/epp/packages/2019-03/'/>
    <child location='201903201000' />
    <child location='201903081000' />
    <child location='201903011000' />
  </children>
</repository>

So hopefully the final result later today at release time only includes one child for epp and a one child for 201903201000 and has correct property values and isn't simply a copy of the RC2 jars.  This avoid users updating or installer 2019-03 from needing to access child repositories unnecessarily, making sure download.eclipse.org remains responsive.

Regards,
Ed



Back to the top