[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-07-31 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17573347#comment-17573347
 ] 

Tomoko Uchida commented on LUCENE-10622:


Test comment: HTML chars in quotes.

(block quote)
{quote}
* xxx

foobar

{quote}

(inline quote)
bq. xxx

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
> Attachments: test-1.txt, test.txt
>
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-07-15 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17567434#comment-17567434
 ] 

Tomoko Uchida commented on LUCENE-10622:


[TEST] This was moved to GitHub issue: 
https://github.com/mocobeta/migration-test-3/issues/61.

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
> Attachments: test-1.txt, test.txt
>
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-07-15 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17567432#comment-17567432
 ] 

Tomoko Uchida commented on LUCENE-10622:


[TEST] This was moved to GitHub issue: 
https://github.com/mocobeta/migration-test-3/issues/61.

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
> Attachments: test-1.txt, test.txt
>
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-07-15 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17567431#comment-17567431
 ] 

Tomoko Uchida commented on LUCENE-10622:


[TEST] This was moved to GitHub issue: 
https://github.com/mocobeta/migration-test-3/issues/61.

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
> Attachments: test-1.txt, test.txt
>
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-07-15 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17567429#comment-17567429
 ] 

Tomoko Uchida commented on LUCENE-10622:


This is a test comment from API.

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
> Attachments: test-1.txt, test.txt
>
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-28 Thread Tomoko Uchida (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tomoko Uchida commented on  LUCENE-10622  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Prepare complete migration script to GitHub issue from Jira (best effort)   
 

  
 
 
 
 

 
  test.txt test attachment  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9)  
 
 

 
   
 

  
 

  
 

   



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-27 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17559095#comment-17559095
 ] 

Tomoko Uchida commented on LUCENE-10622:


There were three issues that won't be imported.

[LUCENE-1498]

{code}
[2022-06-26 18:38:25,394] ERROR:import_github_issues: Import GitHub issue 
/mnt/hdd/repo/sandbox-lucene-10557/migration/github-import-data/GH-LUCENE-1498.json
 was failed. status=failed, errors=[{'location': '/issue', 'resource': 'Issue', 
'field': None, 'value': None, 'code': 'error'}]
{code}

Have no idea about the cause. Maybe the body contains character sequences that 
are not acceptable to GitHub. There are only two comments, it'd be easy to 
manually port it.

[LUCENE-4344]

Looks like this is redirected to [SOLR-3769] - no action required.

[LUCENE-5612]

{code}
[2022-06-27 02:28:25,450] ERROR:github_issues_util: Failed to import issue 
LockStressTest fails always with NativeFSLockFactory [LUCENE-5612]; 
status_code=413, message={"message":"Payload too big: 1048576 bytes are 
allowed, 1468832 bytes were 
posted.","documentation_url":"https://docs.github.com/rest"}
{code}

The data size exceeds the API's limit (1MB). I think the long stacktrace in a 
comment is the cause. Maybe we could trim the comments and manually port the 
trimmed comments afterward.

Other 10608 issues were successfully imported in 20 hours (the first pass).


> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-21 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17556723#comment-17556723
 ] 

Tomoko Uchida commented on LUCENE-10622:


Looks like cross-issue links and sub-tasks are fine. There are also issue links 
to outside projects (e.g. Solr, LEGAL, INFRA, etc.). Do we have to have the 
fallback links to Jira from GitHub?

https://github.com/mocobeta/migration-test-1/issues/24

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-19 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17556087#comment-17556087
 ] 

Tomoko Uchida commented on LUCENE-10622:


Skelton of the migration tool: 
[https://github.com/mocobeta/sandbox-lucene-10557]
1. download jira issues
2. first pass : create github issues
3. convert jira issues to github issues and resolve links/id mappings
4. update github issues (and comments)

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-18 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17555844#comment-17555844
 ] 

Tomoko Uchida commented on LUCENE-10622:


A fair warning - the migration will be significantly delayed for this. Bulk 
migration should be done before cutting over GitHub issue (if we decide to do 
so).

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-17 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17555839#comment-17555839
 ] 

Tomoko Uchida commented on LUCENE-10622:


For experiments, I'd choose "difficult" issues for porting. E.g., ones with 
long histories (comments), frequent status changes, attached files, 
markups/code snippets, links, sub-tasks, etc. All fields/data can contain 
important information and shouldn't be discarded if we want to preserve the 
history, not just to move the platform.
Examples could be:
- https://issues.apache.org/jira/browse/LUCENE-2562
- https://issues.apache.org/jira/browse/LUCENE-9077
- https://issues.apache.org/jira/browse/LUCENE-4100

Honestly I'm skeptical that it can be done with a satisfactory level of quality 
- but we should give it a try before drawing a conclusion.

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-17 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17555819#comment-17555819
 ] 

Tomoko Uchida commented on LUCENE-10622:


I can create a Personal Access Token 
[https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html|https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html],
 but GET REST API can be called without any authentication.

{code}
$ curl -s https://issues.apache.org/jira/rest/api/latest/issue/LUCENE-10557 | 
jq 
{
  "expand": 
"renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
  "id": "13443092",
  "self": "https://issues.apache.org/jira/rest/api/latest/issue/13443092;,
  "key": "LUCENE-10557",
  "fields": {
"parent": {
  "id": "13442225",
  "key": "LUCENE-10543",
  "self": "https://issues.apache.org/jira/rest/api/2/issue/13442225;,
  "fields": {
"summary": "Achieve contribution workflow perfection (with progress)",
"status": {
  "self": "https://issues.apache.org/jira/rest/api/2/status/1;,
  "description": "The issue is open and ready for the assignee to start 
work on it.",
  "iconUrl": 
"https://issues.apache.org/jira/images/icons/statuses/open.png;,
  "name": "Open",
  "id": "1",
  "statusCategory": {
"self": 
"https://issues.apache.org/jira/rest/api/2/statuscategory/2;,
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
  }
},
"priority": {
  "self": "https://issues.apache.org/jira/rest/api/2/priority/3;,
  "iconUrl": 
"https://issues.apache.org/jira/images/icons/priorities/major.svg;,
  "name": "Major",
  "id": "3"
},
..
{code}

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (LUCENE-10622) Prepare complete migration script to GitHub issue from Jira (best effort)

2022-06-17 Thread Tomoko Uchida (Jira)


[ 
https://issues.apache.org/jira/browse/LUCENE-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17555803#comment-17555803
 ] 

Tomoko Uchida commented on LUCENE-10622:


Can we have (read-only) access keys to Jira via APIs?

> Prepare complete migration script to GitHub issue from Jira (best effort)
> -
>
> Key: LUCENE-10622
> URL: https://issues.apache.org/jira/browse/LUCENE-10622
> Project: Lucene - Core
>  Issue Type: Sub-task
>Reporter: Tomoko Uchida
>Assignee: Tomoko Uchida
>Priority: Major
>
> If we intend to move the history to GitHub, it should be perfect as far as 
> possible - significantly degraded copies of history are harmful, rather than 
> helpful for future contributors, I think.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org