Discussion:
Trac Import into BitBucket
Sylvain Hellegouarch
2011-10-05 18:27:13 UTC
Permalink
Hi folks,

I'm part of the team maintaining the CherryPy project [1] and we wish to
migrate to Mercurial and BitBucket.

I was able to convert the svn repo to mercurial and push everything to
bitbucket [2].

I then tried to write a script to migrate Trac tickets and Wikis but it
appears the BitBucket API doesn't provide a way to create comment to
issues.

I feel like I'm stuck and would like to know what alternatives I have? I
read that the BitBucket team had a set of scripts to perform the migration,
is that right? How could I make that request on behalf of the CherryPy
project?

Cheers,
--
- Sylvain
http://twitter.com/lawouach
http://www.defuze.org

[1] http://www.cherrypy.org/
[2] https://github.com/Lawouach/CherryPy
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
Charles McLaughlin
2011-10-05 19:29:36 UTC
Permalink
Post by Sylvain Hellegouarch
Hi folks,
I'm part of the team maintaining the CherryPy project [1] and we wish to
migrate to Mercurial and BitBucket.
I was able to convert the svn repo to mercurial and push everything to
bitbucket [2].
I then tried to write a script to migrate Trac tickets and Wikis but it
appears the BitBucket API doesn't provide a way to create comment to
issues.
I feel like I'm stuck and would like to know what alternatives I have? I
read that the BitBucket team had a set of scripts to perform the
migration, is that right? How could I make that request on behalf of the
CherryPy project?
Hi Sylvain,

We do plan to add an API method for adding comments on Bitbucket, but
it's not complete at this time. In the meantime if you send your
trac.db to support-HWgY0/vhk/***@public.gmane.org we'll try to import it.

Regards,
Charles
--
Bitbucket Staff
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
Sylvain Hellegouarch
2011-10-05 19:35:33 UTC
Permalink
Hi Charles,
Post by Charles McLaughlin
We do plan to add an API method for adding comments on Bitbucket, but
it's not complete at this time. In the meantime if you send your
This is much appreciated. Thanks a lot.
--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
mattias w
2012-03-01 19:39:48 UTC
Permalink
Is this an option for paying private repos too?

We use trac with svn, tickets + wiki. I really need to move the tickets, it
is about 2000 with many screenshots as attachements.

/mattias

Den onsdagen den 5:e oktober 2011 kl. 21:35:33 UTC+2 skrev Sylvain
Post by Sylvain Hellegouarch
Hi Charles,
Post by Charles McLaughlin
We do plan to add an API method for adding comments on Bitbucket, but
it's not complete at this time. In the meantime if you send your
This is much appreciated. Thanks a lot.
--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bitbucket-users/-/bNKKI-vp0vIJ.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
Charles McLaughlin
2012-03-01 21:07:40 UTC
Permalink
Post by mattias w
Is this an option for paying private repos too?
We use trac with svn, tickets + wiki. I really need to move the tickets,
it is about 2000 with many screenshots as attachements.
The same applies to private repos. Please send your trac.db and your
compressed attachments directory to support-HWgY0/vhk/***@public.gmane.org and we'll try
to import it. If it's larger than 25mb you could also create a
repository on Bitbucket and use our 'uploads' feature. We can do the
import into a test repository, show it to you, and if it looks good
import it into a repository of your choice. We can discuss all of this
in further detail off list.

Regards,
Charles
--
Bitbucket Staff
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
mattias w
2012-03-30 12:37:18 UTC
Permalink
Thank you Charles.

The SVN archive, should I import that myself, i.e. either follow the
instructions at

http://confluence.atlassian.com/display/BITBUCKET/Converting+from+Subversion+to+Mercurial

or

https://bitbucket.org/site/master/issue/3090/import-svn-to-new-git-repository-bb-2505

Is the trac import different if I choose git or mercurial?

/mattias
Post by Charles McLaughlin
Post by mattias w
Is this an option for paying private repos too?
We use trac with svn, tickets + wiki. I really need to move the tickets,
it is about 2000 with many screenshots as attachements.
The same applies to private repos. Please send your trac.db and your
to import it. If it's larger than 25mb you could also create a
repository on Bitbucket and use our 'uploads' feature. We can do the
import into a test repository, show it to you, and if it looks good
import it into a repository of your choice. We can discuss all of this
in further detail off list.
Regards,
Charles
--
Bitbucket Staff
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bitbucket-users/-/ONYzIuU65bkJ.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
Charles McLaughlin
2012-04-02 20:51:20 UTC
Permalink
Post by mattias w
Thank you Charles.
The SVN archive, should I import that myself, i.e. either follow the
instructions at
http://confluence.atlassian.com/display/BITBUCKET/Converting+from+Subversion+to+Mercurial
or
https://bitbucket.org/site/master/issue/3090/import-svn-to-new-git-repository-bb-2505
Is the trac import different if I choose git or mercurial?
Actually, yes. We have not yet updated our Trac import script to work
with Git. Currently it only works with Mercurial.

Regards,
Charles
--
Bitbucket Staff
--
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To post to this group, send email to bitbucket-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bitbucket-users?hl=en.
kevin
2012-11-09 15:48:05 UTC
Permalink
FYI, looks like Trac imports are no longer supported.

Thank you for contacting Atlassian Support. We have received your request
for Bitbucket Support.
Once a support engineer has reviewed your issue you will receive an email
response.
Please use the link above to view/edit/add information to your issue.
Alternatively you can simply reply to this email and your message will be
added as a comment to this issue.
You may also consider reviewing the Atlassian Knowledgebase<http://confluence.atlassian.com/display/KB/Knowledge+Base+Home>which contains a wide array of helpful information you may find relevant to
your issue.
We look forward to working together with you to resolve your current issue.
Sincerely,
The Bitbucket Support Team
Post by mattias w
Thank you Charles.
The SVN archive, should I import that myself, i.e. either follow the
instructions at
http://confluence.atlassian.com/display/BITBUCKET/Converting+from+Subversion+to+Mercurial
Post by mattias w
or
https://bitbucket.org/site/master/issue/3090/import-svn-to-new-git-repository-bb-2505
Post by mattias w
Is the trac import different if I choose git or mercurial?
Actually, yes. We have not yet updated our Trac import script to work
with Git. Currently it only works with Mercurial.
Regards,
Charles
--
Bitbucket Staff
--
Erik van Zijst
2013-03-27 05:45:08 UTC
Permalink
Today we've finally released the ability to export and import issues
directly into Bitbucket's issue
tracker: https://confluence.atlassian.com/display/BITBUCKET/Export+or+Import+Issue+Data

Note that we encourage people to write migration programs to convert to and
from other issue trackers. Bitbucket's zip file layout and data definitions
are described in detail
at: https://confluence.atlassian.com/pages/viewpage.action?pageId=330796872

Cheers,
Erik
Post by kevin
FYI, looks like Trac imports are no longer supported.
Thank you for contacting Atlassian Support. We have received your
request for Bitbucket Support.
Once a support engineer has reviewed your issue you will receive an email
response.
Please use the link above to view/edit/add information to your issue.
Alternatively you can simply reply to this email and your message will be
added as a comment to this issue.
You may also consider reviewing the Atlassian Knowledgebase<http://confluence.atlassian.com/display/KB/Knowledge+Base+Home>which contains a wide array of helpful information you may find relevant to
your issue.
We look forward to working together with you to resolve your current issue.
Sincerely,
The Bitbucket Support Team
Post by mattias w
Thank you Charles.
The SVN archive, should I import that myself, i.e. either follow the
instructions at
http://confluence.atlassian.com/display/BITBUCKET/Converting+from+Subversion+to+Mercurial
Post by mattias w
or
https://bitbucket.org/site/master/issue/3090/import-svn-to-new-git-repository-bb-2505
Post by mattias w
Is the trac import different if I choose git or mercurial?
Actually, yes. We have not yet updated our Trac import script to work
with Git. Currently it only works with Mercurial.
Regards,
Charles
--
Bitbucket Staff
--
This group is not monitored by Bitbucket Support. For support, go to https://support.atlassian.com and register a FREE account.
For even more community support for Bitbucket, try Atlassian Answers, our Q&A site. It can be found at https://answers.atlassian.com/tags/bitbucket/.
---
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Virgílio Santos
2013-09-25 19:22:14 UTC
Permalink
Hi all,

I just got in the need of get Trac issues imported to a bitbucket repo. So,
before I write my own program, I decided to search if it was not done
before and got to this thread. Someone has some script to share or have
some tips on how to get to it fast?

Thanks in advance

Virgílio Santos
http://escola.mupi.me
--
This group is not monitored by Bitbucket Support. For support, go to https://support.atlassian.com and register a FREE account.
For even more community support for Bitbucket, try Atlassian Answers, our Q&A site. It can be found at https://answers.atlassian.com/tags/bitbucket/.
---
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Virgílio Santos
2013-09-25 19:44:59 UTC
Permalink
Hi Sylvain,

Thanks for the fast answer. I'm having the feeling I will have to
write some script. It is a old repo that I'm putting up alive again
and want to put in a more friendly platform.

I think I'll try to make it with SQL, create a CSV and then export to
json to upload to bitbucket repo later

Virgílio
Hi Virgilio,
I'm afraid I don't have any script. It was a couple of years ago. I think in
the end BitBucket helped us I can't tell whether or not they still do these
days from Trac.
Good luck.
- Sylvain
Post by Virgílio Santos
Hi all,
I just got in the need of get Trac issues imported to a bitbucket repo.
So, before I write my own program, I decided to search if it was not done
before and got to this thread. Someone has some script to share or have some
tips on how to get to it fast?
Thanks in advance
Virgílio Santos
http://escola.mupi.me
--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach
--
Deserve's Got Nothing To Do With It
--
This group is not monitored by Bitbucket Support. For support, go to https://support.atlassian.com and register a FREE account.
For even more community support for Bitbucket, try Atlassian Answers, our Q&A site. It can be found at https://answers.atlassian.com/tags/bitbucket/.
---
You received this message because you are subscribed to the Google Groups "bitbucket-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitbucket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...