Re: problems with ssh authentication

2011-05-29 Thread Elvis Stansvik
2011/5/28 Radosław Wicik :
> Dnia 2011-05-28, o godz. 16:32:17
> Samuel Buttigieg  napisał(a):
>
>> Hello fellow coders/hackers
>>
>> I have recently been trying to push changes to git via ssh however I
>> ran into problems and I tried various options
>> which none of them seem to work. I was talking to Boemann and
>> informed me that all of his students have similar
>> difficulties and so I decided to start up a thread where we can toss
>> around a few ideas. This is what I did:
>>
>> 1.) I generated the keys using: ssh-keygen -t rsa
>> 2.) I saved them to the default ~/.ssh location
>> 3.) I uploaded the public on kde identity
>> 4.) I set ~/.ssh/config as: Host *.kde.org
>>                                                 User buttigieg
>>                                                 IdentityFile
>> ~/.ssh/id_rsa 5.) I set .gitconfig as:
>> [url "ssh://g...@git.kde.org/"]
>>       insteadOf = kde:
>> [user]
>>       name = Samuel Buttigieg
>>       email = sambut1...@gmail.com
>> [push]
>>       default = current
>> [color]
>>       diff = auto
>>       status = auto
>>       branch = auto
>>       interactive = auto
>>       ui = true
>>       pager = true
>>
>> 6.) I also sett he access rights:
>> chmod 700 $HOME/.ssh
>> chmod 600 $HOME/.ssh/id_rsa
>> chmod 600 $HOME/.ssh/id_rsa.pub
>>
>> 7.) waited two days for key to be synced
>>
>> However each time I try to do a git push origin master
>> or ssh -v git.kde.org
>>
>> I get: Permission denied (publickey) all the time.
>>
>> *Can someone who has or had a similar problem throw some ideas?*
>>
>> Thanks for your help,
>> Samuel
>
> As far as I know, we don't use bare git system, we are using
> gitoliate or something.
>
> authorization is based only on keys,
> you should always use "git" as login
> and in your ssh_config you have:
>> User buttigieg
>
> I'm not sure what is more important ssh_config or command line params
> but maybe adding something like this will help:
>  Host git.kde.org
>  User git
>  IdentityFile ~/.ssh/id_rsa
>
> Probably before 'host *.kde.org' <- this I'm not 100% sure.

I agree with Radek here; first try to remove your entire Host
*.kde.org directive in .ssh/config and see if that solves it. 'git' is
the username that should always be used. But I think command line
username should override that though.

Have you tried ssh -vvv g...@git.kde.org ? Maybe the verbose output
from ssh when connecting gives any clues about the problems.

Regards,
Elvis

>
> Radek
>
> ___
> calligra-devel mailing list
> calligra-devel@kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
>
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Review Request: Fix conflicting tool actions

2011-05-29 Thread Jan Hambrecht

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101468/
---

Review request for Calligra.


Summary
---

At them moment there is a problem with actions from tools which duplicate 
standard actions in applications. An example are select all /deselect standard 
actions. There are calligra applications which create these in their view 
classes to have support to select/deselect shapes. However some tools like the 
text tool do have these actions too.
When for instance the text tool gets activated, all its actions are enabled 
which causes the select all action conflict with that of the application (they 
have the same standard shortcut).
This patch fixes that as it will disable any action from the application during 
the activation of the tool with an conflicting action. When disabling the tool 
again, the application action is enabled again.
That way selecting all works in the text tool again and I could add working 
support for select all/deselect in the artistic text tool too.


Diffs
-

  libs/flake/KoToolManager.cpp bf68ad9 
  libs/flake/KoToolManager_p.h 83ea4de 
  plugins/artistictextshape/ArtisticTextTool.h e9b6347 
  plugins/artistictextshape/ArtisticTextTool.cpp 68debef 
  plugins/textshape/TextTool.cpp b95e18e 
  words/part/words.rc c4aa3f7 
  words/part/words_readonly.rc b4abb2a 

Diff: http://git.reviewboard.kde.org/r/101468/diff


Testing
---

Tested with the text tool, artistic text tool in karbon and stage.


Thanks,

Jan

___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: problems with ssh authentication

2011-05-29 Thread Samuel Buttigieg
Hello all,

I solved the problem.

I used the method explained below with an addition which I came up with last
night.
I added a dsa key along with the rsa key

and changed the line: *IdentityFile ~/.ssh/id_rsa*
to* IdentityFile ~/.ssh/id_dsa*
*
*
before i went to sleep and this morning it worked!

However I kept the *.kde.org
and user name unchanged.

Strange tough that there seems to be no commonly working method.

Any ways thanks for you replies.

Regards,
Samuel

On Sun, May 29, 2011 at 12:01 PM, Elvis Stansvik  wrote:

> 2011/5/28 Radosław Wicik :
> > Dnia 2011-05-28, o godz. 16:32:17
> > Samuel Buttigieg  napisał(a):
> >
> >> Hello fellow coders/hackers
> >>
> >> I have recently been trying to push changes to git via ssh however I
> >> ran into problems and I tried various options
> >> which none of them seem to work. I was talking to Boemann and
> >> informed me that all of his students have similar
> >> difficulties and so I decided to start up a thread where we can toss
> >> around a few ideas. This is what I did:
> >>
> >> 1.) I generated the keys using: ssh-keygen -t rsa
> >> 2.) I saved them to the default ~/.ssh location
> >> 3.) I uploaded the public on kde identity
> >> 4.) I set ~/.ssh/config as: Host *.kde.org
> >> User buttigieg
> >> IdentityFile
> >> ~/.ssh/id_rsa 5.) I set .gitconfig as:
> >> [url "ssh://g...@git.kde.org/"]
> >>   insteadOf = kde:
> >> [user]
> >>   name = Samuel Buttigieg
> >>   email = sambut1...@gmail.com
> >> [push]
> >>   default = current
> >> [color]
> >>   diff = auto
> >>   status = auto
> >>   branch = auto
> >>   interactive = auto
> >>   ui = true
> >>   pager = true
> >>
> >> 6.) I also sett he access rights:
> >> chmod 700 $HOME/.ssh
> >> chmod 600 $HOME/.ssh/id_rsa
> >> chmod 600 $HOME/.ssh/id_rsa.pub
> >>
> >> 7.) waited two days for key to be synced
> >>
> >> However each time I try to do a git push origin master
> >> or ssh -v git.kde.org
> >>
> >> I get: Permission denied (publickey) all the time.
> >>
> >> *Can someone who has or had a similar problem throw some ideas?*
> >>
> >> Thanks for your help,
> >> Samuel
> >
> > As far as I know, we don't use bare git system, we are using
> > gitoliate or something.
> >
> > authorization is based only on keys,
> > you should always use "git" as login
> > and in your ssh_config you have:
> >> User buttigieg
> >
> > I'm not sure what is more important ssh_config or command line params
> > but maybe adding something like this will help:
> >  Host git.kde.org
> >  User git
> >  IdentityFile ~/.ssh/id_rsa
> >
> > Probably before 'host *.kde.org' <- this I'm not 100% sure.
>
> I agree with Radek here; first try to remove your entire Host
> *.kde.org directive in .ssh/config and see if that solves it. 'git' is
> the username that should always be used. But I think command line
> username should override that though.
>
> Have you tried ssh -vvv g...@git.kde.org ? Maybe the verbose output
> from ssh when connecting gives any clues about the problems.
>
> Regards,
> Elvis
>
> >
> > Radek
> >
> > ___
> > calligra-devel mailing list
> > calligra-devel@kde.org
> > https://mail.kde.org/mailman/listinfo/calligra-devel
> >
> >
> ___
> calligra-devel mailing list
> calligra-devel@kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Review Request: Review request for the new branch "krita_resource-management-tagging-tiyyagura" under calligra repository

2011-05-29 Thread Srikanth Tiyyagura

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101467/
---

(Updated May 29, 2011, 3:48 p.m.)


Review request for Calligra.


Changes
---

I changed the diff file by merging master into the branch 
krita_resource-management-tagging-tiyyagura and then creating the diff file 
between the branches.
I updated the changes suggested by Boudewijn Rempt and also removed some spaces 
in the code.


Summary
---

Review request for the branch krita_resource-management-tagging-tiyyagura under 
calligra repository

I want to merge this branch into master. Before that, I want to review it 
first. I already tried to post this review using post-review but it is giving 
error like this 

 File "/usr/lib/python2.7/httplib.py", line 809, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 44353: 
ordinal not in range(128)

So, I created a diff file between master and 
krita_resource-management-tagging-tiyyagura branch using the following command 
and posting that diff file

git diff master krita_resource-management-tagging-tiyyagura 

I didn't know whether this way is correct or wrong ? If it is wrong, please 
intimate me with correct procedure.


Diffs (updated)
-

  krita/data/CMakeLists.txt 4b07140 
  krita/data/kritabrushes.knsrc PRE-CREATION 
  krita/data/kritagradients.knsrc PRE-CREATION 
  krita/data/kritapatterns.knsrc PRE-CREATION 
  krita/data/kritapresets.knsrc PRE-CREATION 
  krita/plugins/paintops/libpaintop/kis_brush_chooser.cpp 55efdec 
  krita/ui/kis_paintop_box.cc aeebcae 
  krita/ui/widgets/kis_gradient_chooser.cc 86ecfdf 
  krita/ui/widgets/kis_pattern_chooser.cc 5b6661b 
  krita/ui/widgets/kis_preset_chooser.cpp c0da30d 
  libs/widgets/KoResourceItemChooser.h eee16cb 
  libs/widgets/KoResourceItemChooser.cpp 03cd55c 
  libs/widgets/KoResourceModel.cpp b007740 
  libs/widgets/KoResourceServer.h cd9e42b 
  libs/widgets/KoResourceServerAdapter.h dacc12f 
  libs/widgets/KoResourceServerProvider.cpp 27f2203 

Diff: http://git.reviewboard.kde.org/r/101467/diff


Testing
---


Thanks,

Srikanth

___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Review Request: Fix compilation with GCC 4.6

2011-05-29 Thread Commit Hook

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101464/#review3585
---


This review has been submitted with commit 
f22ba2a573c0677dcf6b23fba76fdd459a95bff1 by Christoph Feck.

- Commit


On May 28, 2011, 9:59 p.m., Christoph Feck wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101464/
> ---
> 
> (Updated May 28, 2011, 9:59 p.m.)
> 
> 
> Review request for Calligra, Cyrille Berger Skott and Boudewijn Rempt.
> 
> 
> Summary
> ---
> 
> See http://mail.kde.org/pipermail/calligra-devel/2011-April/001260.html
> 
> 
> Diffs
> -
> 
>   krita/image/kis_convolution_kernel.h 23693a7 
> 
> Diff: http://git.reviewboard.kde.org/r/101464/diff
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Christoph
> 
>

___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel