Camelia, the Perl 6 bug

IRC log for #cdk, 2011-01-14

| Channels | #cdk index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
06:31 sneumann_ joined #cdk
07:13 jbrefort joined #cdk
08:10 Gpox joined #cdk
08:14 egonw joined #cdk
09:48 egonw left #cdk
09:48 egonw joined #cdk
11:28 dma_k joined #cdk
11:30 dma_k Hi everyone!
11:30 egonw hi dma_k!
11:31 egonw good you made it
11:31 dma_k Hi Egon. It was not a rocket science :)
11:31 egonw shall I explain how to make git patches?
11:31 egonw no, it isn't, but not all CDK contributors are experienced with the medium
11:31 dma_k I am happy to use Git and clones, but I can;t use git:// over proxy. Maybe you can give  a hint?
11:32 dma_k ssh:// also not an option. So that is a stopper. Only http:// or https://
11:33 egonw http:// is np
11:33 egonw mom
11:33 egonw try: git clone https://github.com/cdk/cdk.git
11:34 Gpox left #cdk
11:37 dma_k So, is github a root repo of CDK and how it related to SF git?
11:39 egonw mirrors
11:40 egonw (though not autosynched)
11:42 dma_k OK, I will create a clone and commit to the clone. Is it good option?
11:42 Gpox joined #cdk
11:42 egonw branch first
11:43 egonw git checkout cdk-1.4.x
11:43 egonw (that's the branch to make bug fix patches against)
11:43 egonw git checkout -b 1-fixNPEinQSARCustomize
11:43 egonw (creating a branch of cdk-1.4.x for your code)
11:43 egonw and then commit to that local branch
11:44 egonw it's best to keep the local branches linked to upstream branches untouched
11:46 dma_k So I sould not create a repo fork but just use https://github.com/cdk/ as a repo URL and then create a branch within it, right?
11:47 egonw either is fine, really ...
11:48 egonw by making a fork on GitHub, it is more easy to share your patches, and for us to review
11:48 egonw then you can point in your patch reports on SF for the CDK, to 1-foo branches on your GitHub fork
11:49 egonw if you are up for that, that's prefered by some devels indeed
11:49 dma_k OK, I got it. On my way...
11:49 egonw btw, no need to make a new clone
11:50 egonw you can manually edit .git/config
11:50 egonw to alter the URL for 'origin'
11:51 egonw and / or use "git remote add someAlias URL" to add other remote repositories
11:51 egonw e.g.
11:51 dma_k If I may ask here: what kind of Rectangle is returned by IRenderer.paint(object, visitor) ? I beleive that is the smallest surrounding rect for the complete formular... But for 123 triazole it surrounds only N atom :)
11:51 egonw git remote add myGHfork https://github.com/dmak/cdk.git
11:52 egonw interesting question... Gpox, you know?
11:52 egonw I would need to look at the code, but no time for that right now
11:54 dma_k I have trivial task: I have created am image say, 500x500 and drawn a molecule. Now I want to crop the image to smallest size. How do you do this?
11:55 dma_k Or maybe I can create an image that can auto-grow? But I think this is not trivial and perhaps not effective.
12:01 egonw there is a scale-to-fit option
12:01 egonw the cropping should be covered by setting the margin to 0
12:04 egonw dma_k: in case you haven't done so yet: http://help.github.com/git-email-settings/
12:10 dma_k egon: I would like to get images of different sizes, but with the same bond length (e.g. same zoom factor). How can I do it? I thought, I can draw on big canvas and then crop...
12:11 dma_k Shell I ask about that on maillist?
12:13 egonw yes, best to do that
12:13 egonw cdk-jcp is now back to a hobby for me...
12:13 egonw btw, hope to rebase it on 1.3.8 this weekend
12:14 dma_k Thanks
13:38 egonw dma_k: making progress?
13:48 dma_k I think, not so big: when I've coppied the modified versions of files from SVN to Git I got end-of-line problem.  Technology is making me crazy: simple things take ages...
13:51 egonw :)
13:51 egonw and git is supposed to be better at that... go figure :)
14:04 sneumann_ left #cdk
14:21 mgerlich left #cdk
15:12 dma_k egonw: I've made a commits. I am not sure I have managed the branches correctly. I doubt, it makes sence to create a branch on every small fix.
15:13 egonw it does
15:14 egonw branching in git is *very* cheap
15:14 egonw I think it does, anyway
15:14 egonw it works very well for me...
15:14 egonw for quickly trying things, like patches from others ;)
15:14 egonw ok, got to catch a bus
15:14 egonw will be back in about 20 minutes or so
15:15 egonw mind you, I delete them as easily as I am done with them
15:15 dma_k The links to patches are in corresponding tracker comments. Happy merging :)
15:16 egonw ok, tack, tack !
15:16 dma_k Deleting a branch will erase the changes, right?
15:16 dma_k Or I delete a branch and them merge my master branch with parent's?
15:20 egonw left #cdk
15:43 egonw joined #cdk
16:01 egonw dma_k: btw, SF and GitHub were wildly out of synch :(
16:01 egonw updating now
16:02 egonw github is normally the most up to date, as rajarshi only pushed there
16:08 egonw_ joined #cdk
16:12 egonw left #cdk
16:18 egonw_ left #cdk
16:18 egonw_ joined #cdk
16:32 dma_k Perhaps it makes sence to shut-down SF source repo and move to GitHub completely?
16:33 egonw_ github actually advices keeping a mirror :)
16:34 egonw_ mirroring is easy
16:34 egonw_ but something I forget :)
16:49 dma_k You said, I can remove branches in my fork later. Deleting a branch will erase the changes, right?
16:49 egonw_ not entirely
16:49 dma_k Or I need to delete a branch and them merge my master branch with parent (e.g. with main) repository?
16:49 egonw_ it will actually be present as dangling branch
16:50 egonw_ sort of a branch without a pointer
16:50 egonw_ you would typically rebase
16:50 egonw_ but when all patches in a branch are applied to the main branch, you can just forget about it
16:51 dma_k I am a bit afraid of number of branches growing :) How many branches do you have?
16:51 egonw_ 50-100 I think
16:51 egonw_ that's why I number them
16:52 CIA-57 cdk: Dmitry Katsubo cdk-1.4.x * r7c6a0c5 / src/main/org/openscience/cdk/layo​ut/StructureDiagramGenerator.java :
16:52 CIA-57 cdk: StructureDiagramGenerator methods now throw CDKException instead of catch-all java.lang.Exception.
16:52 CIA-57 cdk: Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net> - http://bit.ly/f0IfRQ
16:53 egonw_ ok, bus arrived at final destination
16:53 egonw_ will go offline now
16:57 egonw_ left #cdk
17:12 dma_k I need to go home. See you later!
17:12 dma_k left #cdk
18:06 Gpox left #cdk
18:43 sneumann_ joined #cdk
18:57 slyrus_ left #cdk
20:27 sneumann_ left #cdk
22:00 jbrefort left #cdk

| Channels | #cdk index | Today | | Search | Google Search | Plain-Text | summary