Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been developing an application using PyGI and Quickly, and I now need to rename it. Is there any quick way to change all of the app name references in a Quickly application, or will I just need to do it by hand?

share|improve this question
    
If there were a way to do it, I suspect it would be an invocation of quickly configure, but it looks like that just lets you change your ppa mapping –  hbdgaf Aug 10 '12 at 20:31
    
This is bugs.launchpad.net/quickly/+bug/667492 There's a script to rename projects attaced there, but it doesn't seem to work anymore. I find this really frustrating. Sometimes you just want to start coding and not have to think about the name you will present to users until latter. –  andrewsomething Aug 28 '12 at 16:23
    
Thanks @andrewsomething. Yeah, this has delayed my uploading of project code since the renaming becomes a hurdle that I can't squeeze into that hour-long window of energy on a weekday evening. I'll subscribe to that bug. –  monotasker Aug 28 '12 at 16:30

2 Answers 2

up vote 3 down vote accepted

I had to do this for my appshowdown application, and I would not try to do it all by hand.

What I did was make a new project with the correct name, and then paste in my custom code, and change a couple references to the old name in there. I then copied over the files for the gui, and did a find and replace on those for the new name.

It depends on how your code is organized. For me, the majority of my code was in a single file, so it was not too bad to get my application up and running after copying in the files for the interface.

share|improve this answer
    
Thanks @Jobi. I was wondering if that would be the way to go. –  monotasker Aug 18 '12 at 19:25
    
If you are so inclined, you may also want to delete the .bzr directory in the new project and copy the .bzr directory from the original project into the new one, to keep a history of previous commits. Then immediately issue: quickly save "Rename project" –  trent Aug 19 '12 at 23:58

You will most likely have to do it all by hand. If you would like to see everything you can do in quickly you just need to open a terminal and run:

$: quickly commands
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.