Opened 9 years ago

Closed 8 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:
Has a Patch: no 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 9 years ago.
Updated version of the export script
svndumpchangesets.sh (987 bytes) - added by mmadia 9 years ago.
script for individual patches of creating commit message + changest from SVN
hgdumpchangesets.sh (897 bytes) - added by mmadia 9 years ago.
script for individual patches of creating commit message + changest from Mercurial repository

Download all attachments as: .zip

Change History (18)

comment:1 in reply to:  description Changed 9 years ago by nielx

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 Changed 9 years ago by andreasf

Blocking: 5881 added

comment:3 Changed 9 years ago by stippi

I've created at least the category for now.

comment:4 Changed 9 years ago by nielx

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

comment:5 Changed 9 years ago by stippi

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 Changed 9 years ago by nielx

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

Changed 9 years ago by nielx

Attachment: webpositive-export.py added

Updated version of the export script

comment:7 Changed 9 years ago by nielx

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 Changed 9 years ago by andreasf

Blocking: 5881 removed

Changed 9 years ago by mmadia

Attachment: svndumpchangesets.sh added

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

Changed 9 years ago by mmadia

Attachment: hgdumpchangesets.sh added

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

comment:9 Changed 9 years ago by mmadia

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 Changed 9 years ago by andreasf

Blocking: 5933 added

comment:11 Changed 9 years ago by nielx

Has a Patch: set

comment:12 Changed 9 years ago by nielx

Has a Patch: unset

comment:13 Changed 9 years ago by stippi

Blocking: 5933 removed

comment:14 Changed 8 years ago by scottmc

Milestone: R1/alpha3Unscheduled

comment:15 Changed 8 years ago by mmadia

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.