Re: [Interest] Local version control with Qt Creator on Linux
On 2016-01-30 08:09, Bernhard Lindner wrote: > I installed git and I can see the "Git" pull-down menu in Qt Creator. I > selected the "Create Repository" menu entry and chose an empty folder. You might have better luck creating a repository where you already have your source files :-). (If you're worried about what QtC does, you can just run 'git init .' in your existing source tree. This will create a .git subdirectory but won't touch anything else. I suspect this is all QtC does, but I don't use QtC.) > Now... how can I add my existing project(s) to that repository? All other > menu > entries of the "Git" menu are ghosted. Seems I can not to anything else than > creating new repositories. Your source files must reside in the repository directory. You can copy them there (as Thiago suggests), or see above. -- Matthew ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
On Saturday 30 January 2016 14:09:55 Bernhard Lindner wrote: > Now... how can I add my existing project(s) to that repository? All other > menu entries of the "Git" menu are ghosted. Seems I can not to anything > else than creating new repositories. Copy all the files, then you can git add each and everyone of them using Alt+G Alt+A. It's easier on the command-line. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
> You shouldn't need to do a p4 checkout for building. If you have to do that, > then you checked files in that you shouldn't have added. Thanks for all of the kind answers. Git obviously is the consensus :-) I installed git and I can see the "Git" pull-down menu in Qt Creator. I selected the "Create Repository" menu entry and chose an empty folder. Now... how can I add my existing project(s) to that repository? All other menu entries of the "Git" menu are ghosted. Seems I can not to anything else than creating new repositories. -- Regards, Bernhard signature.asc Description: This is a digitally signed message part. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
On 2016-01-28 19:48, Jason H wrote: >> I have experiences in using SVN (as client side user with Tortoise and other >> clients) and I am very satisfied with it. I am a single user and there are >> no >> plans of any team work. >> >> What version management software should I try to install in your opinion? > > Perforce is free for 20 users / 20 workspaces. I really like it. I used Perforce years ago. Unless it's gotten much better, the only feature it has that I ever found useful is that its history tracks the integration of individual changesets, rather than just branch heads (useful if you want to merge only the later part of a branch; if you decide later to merge the rest, p4 knows which changesets were skipped the first time). Otherwise, I prefer git in every way. (Having to "open" files before they can be edited, for instance, is especially annoying and IMO unnecessarily inefficient.) > But use git. Even though it's overkill if not doing distributed > development, _everyone_ uses it. It may be overkill, but it's also a joy to use. Here's how to set up a git repository for personal use: $ git init . *That's it*. I'm not going to try to explain how to set up a svn or p4 instance for personal use. Suffice to say, it's nowhere near as easy as git. This "only" gets you a local repository, but it's similarly trivial to add a remote repository later. (Unlike centralized VCS's, git repositories are "peers"; associations can be created or dropped at any time, and the idea of a "primary" repository is a purely sociopolitical convention.) -- Matthew ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
On Friday 29 January 2016 01:48:06 Jason H wrote: > Perforce is free for 20 users / 20 workspaces. I really like it. The only > issue is by default files not checked out are readonly. This causes > problems when building for iOS/Android as the manifest files can't be > changed without a checkout. You shouldn't need to do a p4 checkout for building. If you have to do that, then you checked files in that you shouldn't have added. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
> I have experiences in using SVN (as client side user with Tortoise and other > clients) and I am very satisfied with it. I am a single user and there are no > plans of any team work. > > What version management software should I try to install in your opinion? Perforce is free for 20 users / 20 workspaces. I really like it. The only issue is by default files not checked out are readonly. This causes problems when building for iOS/Android as the manifest files can't be changed without a checkout. But use git. Even though it's overkill if not doing distributed development, _everyone_ uses it. Look at Atlassian's SourceTree (free with registration) for a comprehensive GUI for git. Use git. Git it. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
On Thursday 28 January 2016 16:13:47 Bob Hood wrote: > It has a lot of the features of git, but it's design decisions actually > makes sense, especially if you're coming from Subversion. There are also > extensions that let you inter-operate with git if you need to. I'd argue that, these days, you need to know Git, regardless of its design decisions. So it's a good idea to play with it before you're asked to use it for work. This would be a good opportunity to learn. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
On 1/28/2016 2:55 PM, Bernhard Lindner wrote: What version management software should I try to install in your opinion? Mercurial. https://www.mercurial-scm.org/ It has a lot of the features of git, but it's design decisions actually makes sense, especially if you're coming from Subversion. There are also extensions that let you inter-operate with git if you need to. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Local version control with Qt Creator on Linux
On Thursday 28 January 2016 22:55:44 Bernhard Lindner wrote: > Hi! > > I am experimenting with Qt5 + Qt Creator on Linux Kubuntu. I would like to > try using the version management integration of Qt Creator. > > I don't want to use a public server so I need to setup something local. Git. > I am not an expert in Linux administration... setting up the server side and > connecting it to Qt Creator should be pretty simple. Easy backup of the > repository would be nice. That's a git push to somewhere else, or just rsync everything every now and then. Your regular backup tools should work. > I have experiences in using SVN (as client side user with Tortoise and other > clients) and I am very satisfied with it. I am a single user and there are > no plans of any team work. > > What version management software should I try to install in your opinion? Git. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Local version control with Qt Creator on Linux
Hi! I am experimenting with Qt5 + Qt Creator on Linux Kubuntu. I would like to try using the version management integration of Qt Creator. I don't want to use a public server so I need to setup something local. I am not an expert in Linux administration... setting up the server side and connecting it to Qt Creator should be pretty simple. Easy backup of the repository would be nice. I have experiences in using SVN (as client side user with Tortoise and other clients) and I am very satisfied with it. I am a single user and there are no plans of any team work. What version management software should I try to install in your opinion? -- Regards, Bernhard signature.asc Description: This is a digitally signed message part. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest