![]() |
#1 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Switching to git
Hi all,
Just a heads up. I am switching calibre's source control system to git from bzr. The primary motivation for the move was that bzr was becoming too inefficient at calibre's size. The version history takes ~650MB in bzr and only ~130MB in git. This means that for a new developer the time taken to get calibre's code decreases to a quarter of the current time. For instance, on my internet connection, getting a fresh checkout of calibre's code has gone from ~1 hour to ~10 minutes. Also, bzr development appears to be dead, see http://stationary-traveller.eu/pages...ospective.html. While that does not matter for bzr itself, it does mean that the support tools and ecosystem will stagnate/decline over time. Updated instructions for getting the source code are in the manual. The git repository is hosted on GitHub at https://github.com/kovidgoyal/calibre Apologies for the inconvenience, however, I felt that this move was best for calibre's future. I did poll the top 5 recent calibre committers, of whom 2 were for it, 2 against and 1 neutral. If you have any questions or concerns, do let me know and while I'm not a git expert, I will try to help ![]() Below is a basic guide to setting up your own fork of calibre in a way that will allow you to submit pull requests for inclusion into my repository: Spoiler:
Just in case, like me, you loved the bzr qdiff tool to view diffs, I've created a small wrapper script that allows you to use it with git: Spoiler:
Last edited by kovidgoyal; 05-30-2013 at 11:07 PM. |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
Cooooooooool :-)
No, now seriously, while there might be personal preferences in the bzr-vs-git decision, the infrastructure around git and github is simply too vibrant to ignore. Another question: will you migrate the issues to github too or will they stay on launchpad? And the translations of the core? Also remaining on launchpad or migrated to something like transifex? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Launchpad's issue tracker is far superior to GitHub, for one thing you must be able to mark issues private, so that people can attach copyrighted samples. So issue tracking will remain on Launchpad.
Similarly, I see no reason to disrupt the existing translators, the translations will also remain in Launchpad. EDIT: I've left the issues for the calibre repo on GitHub open for now, but they should only be used by developers wanting to discuss code. The main, user facing bug tracker remains Launchpad. Last edited by kovidgoyal; 05-30-2013 at 12:20 PM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've added a basic guide to the first post on how to get up and running with GitHub if you want to contribute code to the main calibre repo.
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
On a personal note, out of the box, I much prefer bzr, it's easier to use and the default workflow is optimized for a project with a relatively small number of regular contributors, like calibre.
However, git, after some customization, scripts/aliases and so on, works just as well. You do have to put in much more upfront time learning and customizing it, but then, given that I use vim, I can hardly complain about that ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Git outta here! Seriously?
![]() I prefer bzr too, but I completely understand your reasoning here. Here's hoping for a smooth transition all around. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,592
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,282
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), Fire HD 8
|
Vim? Love it. It's literally the very first thing I install on any machine I work on. And as much as I wish that it had all the intellisense of the PowerShell ISE, you couldn't get me to swap out for any amount.
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Oh I love vim, I use it for everything, email, editing, even browsing (via pentadctyl). I have even contributed code to several vim plugins. But, out of the box, it requires *a lot* of customization and a very steep learning curve.
|
![]() |
![]() |
![]() |
#10 | |
Zealot
![]() ![]() Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
|
Quote:
I stopped working on translations a year ago mainly for this, and while it is usually possible to work just downloading the PO file and uploading it, you loose a lot of functionality. |
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#12 |
Zealot
![]() ![]() Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
|
Search tools, which are not as good in poedit or betterpoeditor.
Access to the suggestions of the other projects to help normalize translation Maybe suggestions (and reviewing), but I am not sure about this one as I always worked on those in Launchpad (they may be marked as Fuzzy in po files) Those come from the top of my head, I am just saying that the web interface has been unsuable for a while. Working with only po files is not as easy for me for the reasons stated above. Maybe you could make a poll to see if other translators are happy with the current situation, I am not saying everyone is of the same mind. |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why is the web interface unusable? I haven't heard any complaints from other translators and judging by https://translations.launchpad.net/c.../+pots/calibre there is plenty of translation activity going on. ALmost 30 languages have been edited in 2014 alone.
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() ![]() Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
|
Well I don't know how other people are doing but I tried during 2013 to use it a few times and this leaded to OOPS every time I tried a search and so on.
Basically a lot of timeouts and errors. I tried it again this morning and had an OOPS 2 or 3 times but then it may be better. To see my point just try to do a search, it is nearly guaranteed to get you an OOPS. See also this bug reports (I am not the only one complaining) for example: https://bugs.launchpad.net/launchpad/+bug/736005 Please note, that I am not saying it is impossible to work, just that the platform is just currently working at suboptimal capacity and has the same maintenance problems bazaar had. I was quite happy with it as long as it was reliably working. Last edited by sengian; 03-01-2014 at 06:40 AM. |
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah searches have always been broken in Launchpad translations, for as long as I can remember. Other than that, most things work well.
Certainly if more people complain, I will consider moving to something else. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling from git, Ubuntu 12.04 | varlog | Sigil | 16 | 01-24-2013 04:27 AM |
[O'Reilly] 50% off ebook/video about GIT (till 9.10.2012) | Cyberman tM | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 10-02-2012 01:52 PM |
EPUB for GIT User manual | miwie | Conversion | 2 | 07-20-2011 01:19 AM |
HowTo: Use git under Windows to track calibre development | siebert | Development | 0 | 02-26-2011 05:27 PM |
Switching To Android | kjk | Android Devices | 12 | 07-16-2010 03:55 AM |