Giter VIP home page Giter VIP logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Something else: For each issue there's a text inserted like "Originally created 
by X" and for each comment "Originally commented by Y" or something. It seems 
this is always set to the repository owner, regardless of the original names 
that are in the Google Code JSON export.

I understand if the GitHub API doesn't allow impersonating users for 
commenting, but if at least those message had the proper authors that would 
help.

Original comment by [email protected] on 14 Mar 2015 at 8:15

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Could you please link an example where the converted issue on GitHub isn't 
setting the "created by X" information correctly? (That is, where on GitHub it 
says the comment was created by X and on Google Code it was created by Y?)

As for whether or not to impersonate GitHub users and upload comments as them, 
the Google Code Exporter does not support that feature by design.

Original comment by [email protected] on 14 Mar 2015 at 10:47

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
I'll try, but my importing fail because of the rate limiting (even enabled it 
seems it's not limiting enough) so I deleted the repo. I'll try again.

Original comment by [email protected] on 15 Mar 2015 at 12:08

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Here's an example:
* Original issue: 
https://code.google.com/p/osmtracker-android/issues/detail?id=1
* Imported one: 
https://github.com/nguillaumin/osmtracker-android-import-test/issues/1

The JSON looks ok as far as I can tell:

        "kind" : "projecthosting#issue",                                                                                                                                                 
        "id" : 1,                                                                                                                                                                        
        "title" : "Hardware back button doesn't behave as expected",                                                                                                                     
        "summary" : "Hardware back button doesn't behave as expected",                                                                                                                   
        "stars" : 3,                                                                                                                                                                     
        "starred" : false,                                                                                                                                                               
        "status" : "Fixed",                                                                                                                                                              
        "state" : "closed",                                                                                                                                                              
        "labels" : [ "Type-Defect", "Priority-Medium", "Usability" ],                                                                                                                    
        "author" : {                                                                                                                                                                     
          "kind" : "projecthosting#issuePerson",                                                                                                                                         
          "name" : "david.ebling",                                                                                                                                                       
          "htmlLink" : "https://code.google.com/u/102551361964087564554/"                                                                                                                
        },                                                                                                                                                                               
        "owner" : {                                                                                                                                                                      
          "kind" : "projecthosting#issuePerson",                                                                                                                                         
          "name" : "nguillaumin",                                                                                                                                                        
          "htmlLink" : "https://code.google.com/u/105810118765666299774/"                                                                                                                
        },             

And a comment:

           {                                                                                                                                                                           
            "id" : 1,                                                                                                                                                                    
            "kind" : "projecthosting#issueComment",                                                                                                                                      
            "author" : {                                                                                                                                                                 
              "kind" : "projecthosting#issuePerson",                                                                                                                                     
              "name" : "david.ebling",                                                                                                                                                   
              "htmlLink" : "https://code.google.com/u/102551361964087564554/"                                                                                                            
            },                                                                                                                                                                           
            "content" : "Sorry, think I'm on version 0.2.1 actually - I have button icons. An \"about\" option\r\non the menu button alongside settings will make bug reporting much easier :)",                                                                                                                                                                                  
            "published" : "2010-02-24T22:38:22.000Z",                                                                                                                                    
            "updates" : {                                                                                                                                                                
              "kind" : "projecthosting#issueCommentUpdate"                                                                                                                               
            },                                                                                                                                                                           
            "canDelete" : true                                                                                                                                                           
          },

The command I used:

python2 ./support-tools/googlecode-issues-exporter/github_issue_converter.py 
--github_oauth_token `cat token.txt` --github_owner_username nguillaumin 
--github_
repo_name osmtracker-android-import-test --issue_file_path 
GoogleCodeProjectHosting.json --project_name osmtracker-android

Thanks!

Original comment by [email protected] on 15 Mar 2015 at 12:14

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Hm, it seems that by using the exporter wizard people are getting different 
results, with GitHub issues belonging to GoogleCodeExporter and with comments 
properly attributed. I guess the support tool script might not be what the 
exporter wizard uses?

My problem is that I can't use the exporter wizard because my GitHub repository 
already exists (I migrated the source code to GitHub a long time ago), that's 
why I'm using the issue exporter tool separately to import just the issues...

Original comment by [email protected] on 15 Mar 2015 at 12:19

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
+1 
I have the same problem. I need to go through every single comment now to make 
the proper user appear :( Unfortunately I do not think there is a way to redo 
this without adding functionality to force the importer to be able to redo a 
specific issue. 

Original comment by [email protected] on 15 Mar 2015 at 1:46

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
I'm seeing also seeing all issues being attributed to the repo owner when 
importing issues into BitBucket. Moreover, the link to the original comment #, 
as in…

  "Comment [#%s](%s) originally posted by %s on %s:\n\n%s"

…does not carry over correctly in BitBucket. The link instead leads to an 
issue by the comment #.

Original comment by azizatif on 16 Mar 2015 at 8:35

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024

Original comment by [email protected] on 16 Mar 2015 at 8:53

  • Added labels: Component-ExporterScripts

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
Yeah it seems the automated wizard works great (however that only works for new 
repositories).

Tried the self tools, but all comments were reported owned by me. Even though 
the JSON takeout download had the correct usernames provided.

Original: https://code.google.com/p/android-apktool/issues/detail?id=2
Imported: https://github.com/iBotPeaches/Apktool/issues/112

Original comment by connor.tumbleson on 17 Mar 2015 at 10:53

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024
[deleted comment]

from support-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 9, 2024

Original comment by [email protected] on 11 Apr 2015 at 9:19

Attachments:

from support-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.