Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [embed-cdt-dev] Until and unless a new composite is provided the upgrade feature won't be available



On Tue, 24 Nov 2020 at 11:55, Liviu Ionescu <ilg@xxxxxxxxxx> wrote:


> On 24 Nov 2020, at 18:50, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
>
> The purpose of those lines is to have those p2 sites listed in the EPP EmbedCPP package as an available site. If you make that URL a composite then the Check for Updates will give users a way to update. The composite just means that it has multiple child p2 sites (e.g. one for 6.0.0 and one for 6.0.1).
>
> CDT does it like https://download.eclipse.org/tools/cdt/releases/10.0/ - see the compositeArtifacts.xml and compositeContent.xml files - for CDT they are managed in cdt-infra and copied from github to download.eclipse.org with the CI job https://ci.eclipse.org/cdt/view/Releng/job/promote-files-to-download/ which uses this Jenkinsfile and script

Yes, thank you, I think I got the idea, but I still need to learn how to generate the composite sites.

You need to create the two XML files and put them somewhere. The rest of everything stays the same.

So, for example, you can publish 6.0.0 as you are (presumably) planning to to this URL:


then create a new directory with this URL


which has the attached files in them.
 

Time permitting, when you think appropriate, perhaps we should address this too.

+1 There is time.
 


Regards,

Liviu

_______________________________________________
embed-cdt-dev mailing list
embed-cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/embed-cdt-dev
<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
<repository name='Embed CDT 6.0 Update Site'
    type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
  <properties size='1'>
    <!-- timestamp made with date +%s%3N -->
    <property name='p2.timestamp' value='1606239131867'/>
  </properties>
  <children size='1'>
    <child location='../6.0.0'/>
  </children>
</repository>
<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='Embed CDT 6.0 Update Site'
    type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
  <properties size='1'>
    <!-- timestamp made with date +%s%3N -->
    <property name='p2.timestamp' value='1606239131867'/>
  </properties>
  <children size='1'>
    <child location='../6.0.0'/>
  </children>
</repository>

Back to the top