Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317276

Summary: [releng] Enable download stats for repositories
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RelengAssignee: Project Inbox <rap-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
A xslt transformation for download stats none

Description Ralf Sternberg CLA 2010-06-18 04:23:51 EDT
In order to enable download stats for our p2 repos, we have to tweak the metadata generated by the publish.sh script: http://wiki.eclipse.org/Equinox_p2_download_stats
The p2 publisher used in this script does not yet support adding those metadata, see bug 310132.
Comment 1 Beyhan Veliev CLA 2011-06-16 05:55:35 EDT
The p2 publisher still doesn't support metadata generation for download stats. There are also no possibilities to add p2-repository properties in build (e.g. using a p2.inf or anything else). If we want to have download stats for our p2-repositories released with Indigo we can:
* use a patched publisher application which can add the download stats
* manually tweak the metadata generated by our publish.sh script
Comment 2 Beyhan Veliev CLA 2011-06-16 09:07:02 EDT
I talked to Markus. For EPP they are using a xslt-transformion to extend the artifacts.xml with stats properties. I can adapt their xslt-transformation for our p2-repository. What do you thing about this idea?
Comment 3 Beyhan Veliev CLA 2011-06-17 03:53:55 EDT
Created attachment 198163 [details]
A xslt transformation for download stats

This xslt-transformation can we integrate into our publisher script.