Opened 14 years ago

Closed 13 years ago

#5874 closed enhancement (fixed)

Add "WebPositive" as Trac category

Reported by: humdinger Owned by: nielx
Priority: normal Milestone: Unscheduled
Component: Website/Trac Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

As Web+ is to be included in alpha2, there should be a Web+ component in our bug tracker.

What to do with the tickets already reported at http://mmlr.dyndns.org/report ?
Is it possible to import them or should we ask every reporter to migrate their ticket over here?

Attachments (3)

webpositive-export.py (2.6 KB ) - added by nielx 14 years ago.
Updated version of the export script
svndumpchangesets.sh (987 bytes ) - added by mmadia 14 years ago.
script for individual patches of creating commit message + changest from SVN
hgdumpchangesets.sh (897 bytes ) - added by mmadia 14 years ago.
script for individual patches of creating commit message + changest from Mercurial repository

Download all attachments as: .zip

Change History (18)

in reply to:  description comment:1 by nielx, 14 years ago

Owner: changed from haiku-web to nielx
Status: newassigned

Replying to humdinger:

As Web+ is to be included in alpha2, there should be a Web+ component in our bug tracker.

Sure.

What to do with the tickets already reported at http://mmlr.dyndns.org/report ?
Is it possible to import them or should we ask every reporter to migrate their ticket over here?

I think I will be able to carry them over. I will need some time to work on a script to help me with that, and I need to check how to handle things like date and time (to see whether Trac makes assumptions about the numbering of the tickets and their creation dates).

comment:2 by andreasf, 14 years ago

Blocking: 5881 added

comment:3 by stippi, 14 years ago

I've created at least the category for now.

comment:4 by nielx, 14 years ago

Is it the plan to move all WebPositive development to our servers? Or only to migrate the Trac part?

comment:5 by stippi, 14 years ago

Eventually we wanted to move just WebPositive itself into Haiku's repository. WebKit would become an optional build featue just like OpenSSL already is. I have not started looking into this, mostly because I haven't found time to find out how to import the WebPositive files with history. This has the additional complexity that WebPositive did not start from scratch, but was split off from HaikuLauncher.

comment:6 by nielx, 14 years ago

Ok, I wrote the first halve of the script: the export part. Please edit the TRAC_ENV line (and the OUTPUT if you want). Then run it. It will generate a dir with an XML file that describes the most important fields of the tickets, their comments and the attachment.

Notes:

  • Ticket history is lost, except for comments. The latest ticket state will be exported
  • Only active tickets will be transferred, not those that are closed.
  • the priority and severity field will not be transferred, nor the cc, version or milestone

by nielx, 14 years ago

Attachment: webpositive-export.py added

Updated version of the export script

comment:7 by nielx, 14 years ago

Status: assignedin-progress

I have also now finished and tested the import script:

  • It adds the tickets, comments and attachments.
  • The original dates and times are preserved
  • The Components are rewritten, the original 'General' component is rewritten to 'Applications/WebPositive', the other components get this as prefix (example: Applications/WebPositive/WebCore)
  • owner 'noone' is translated to owner 'nobody'

All I need is someone with access to the webkit server to run the script, email the output to me and then I can do a test run to see whether it all works like expected.

comment:8 by andreasf, 14 years ago

Blocking: 5881 removed

by mmadia, 14 years ago

Attachment: svndumpchangesets.sh added

script for individual patches of creating commit message + changest from SVN

by mmadia, 14 years ago

Attachment: hgdumpchangesets.sh added

script for individual patches of creating commit message + changest from Mercurial repository

comment:9 by mmadia, 14 years ago

Stippi : I've attached two scripts that can create patches of each revision, which also contain the commit message. It works best when the sshkey has no passphrase. Here's a sample run:

------------------------------------------------------------------------
r36601 | mmadia | 2010-05-03 21:51:58 +0000 (Mon, 03 May 2010) | 2 lines

Added some documentation about the anyboot images. Verification appreciated.

------------------------------------------------------------------------
Index: build/jam/MiscRules
===================================================================
--- build/jam/MiscRules	(revision 36600)
+++ build/jam/MiscRules	(revision 36601)
@@ -278,10 +278,11 @@
...
}

I should be able to write an auto-commit script to replay the changesets into Haiku's repository.


comment:10 by andreasf, 14 years ago

Blocking: 5933 added

comment:11 by nielx, 14 years ago

patch: 01

comment:12 by nielx, 14 years ago

patch: 10

comment:13 by stippi, 14 years ago

Blocking: 5933 removed

comment:14 by scottmc, 13 years ago

Milestone: R1/alpha3Unscheduled

comment:15 by mmadia, 13 years ago

Resolution: fixed
Status: in-progressclosed

Created #7194 for importing WebPositive into haiku's repository.

Closing as the original issue has been addressed.

To note, http://webpositive.haiku-os.org is the current location of the Haiku WebKit port.

Note: See TracTickets for help on using tickets.