Comments (11)
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.
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.
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.
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.
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.
+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.
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.
Original comment by [email protected]
on 16 Mar 2015 at 8:53
- Added labels: Component-ExporterScripts
from support-tools.
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.
[deleted comment]
from support-tools.
Original comment by [email protected]
on 11 Apr 2015 at 9:19
Attachments:
- 0001-Use-usernames-as-found-in-Takeout-export-in-a-mangle.patch
- 0002-Link-users-which-are-mapped.patch
from support-tools.
Related Issues (20)
- --rate_limit doesn't work HOT 1
- Error migrating issues - open-hardware-monitor HOT 3
- Could not export project to github after renaming the already existing project there
- Website out of date in archive page (for Serf) HOT 1
- WikiWords not replaced by links upon conversion to .md HOT 1
- [deleted issue]
- [deleted issue]
- Bitbucket issues exported as "Opened", even issues in the Closed state on Google Code HOT 1
- Problem with the Google Code Archive HOT 1
- 400 HOT 1
- Cannot redeclare class Locale Error while loading admin as well as main page after installation. HOT 1
- (See the archive for older versions HOT 1
- nurul aeen HOT 1
- When OPUS used only one direction audio has DynamicRTP HOT 1
- "Invalid XSRF Token" error in exporting project mpspack
- Grid display is too small HOT 1
- Source Code and Commits not available for Mobicents in Archive
- problem with function peektail in circular.c in project logomatic-kwan
- "Error creating repo" importing p/sim1 HOT 1
- Problem with the Google Code Archive HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from support-tools.