Bug 317276 - [releng] Enable download stats for repositories
Summary: [releng] Enable download stats for repositories
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: Releng (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 04:23 EDT by Ralf Sternberg CLA
Modified: 2011-06-17 03:53 EDT (History)
0 users

See Also:


Attachments
A xslt transformation for download stats (1.74 KB, application/octet-stream)
2011-06-17 03:53 EDT, Beyhan Veliev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.