Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320973 - repository contains no categories
Summary: repository contains no categories
Status: RESOLVED FIXED
Alias: None
Product: WTP Releng
Classification: WebTools
Component: releng (show other bugs)
Version: 3.10   Edit
Hardware: PC Windows 7
: P2 major (vote)
Target Milestone: 3.10.0   Edit
Assignee: David Williams CLA
QA Contact: David Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 22:18 EDT by David Williams CLA
Modified: 2018-06-29 15:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2010-07-26 22:18:58 EDT
The categories do not appear in our maintenance release repo. Not sure why. They seem to be in the "individual" ones, but not in the final one that's created by a p2.mirror task. Not sure why the script would work during the release, but not the service release, as I don't think that part of the scripts have changed. 

I'm discovering this late, but I don't think it is a "blocking" problem, though is admittedly pretty bad.
Comment 1 David Williams CLA 2010-07-28 13:23:02 EDT
In looking into this, I've discovered the problem(s) are worse than I thought. 

Our "release" repository, for 3.2.0, also does not have categories. It is also missing the "download stats" properties, and the mirrorURL property. It does have packed bundles, however. There appears to be a combination of errors. First, the "categories" are apparently not created during build (or mirrored?) as I assumed. Not sure what broke there. That will take future investigation ... this bug will document repairing 3.2.0 and 3.2.1 repositories. 

Second, there's three steps to do when promoting a build ... I think I thought these had been automated, but no. From shell, there's some scripts I need to run to finish processing: 

process artifacts: does the "pack200". 
addRepoProperties: custom app to add mirrorURL and download stats properties
and, for now, 
addCategories: requires a for now manually maintained category.xml file, and runs CategoryPublisher app. 

All of these only change the repo's metadata ... no change to code, relationships, etc.
Comment 2 David Williams CLA 2010-07-29 13:40:55 EDT
Essentially fixed, using "manual" scripts. I've added those scripts to a folder in releng.wtpbuilder, named manualStepScripts, for safekeeping, with a very brief description.txt file there to outline what has to be done. I'll work on automating more of this in future.