Home » Developing U++ » U++ Developers corner » Finally going to git... (?)
|
|
Re: Finally going to git... (?) [message #57320 is a reply to message #57319] |
Mon, 12 July 2021 11:11 |
|
mirek
Messages: 14162 Registered: November 2005
|
Ultimate Member |
|
|
Xemuth wrote on Mon, 12 July 2021 10:29Hello Mirek,
Quote: it would mean that the current tree becomes locked for everybody except me
From what I know about github, you can give access to other personnes. (I don't know if adding more than a certain number result in a need to upgrade to a 'professional' offer)
It is not about that. It is about different subfolders having different access. Currently, more people than me can change theide, but only I can change Core/CtrlLib/CtrlCore... AFAIK, you cannot do that with git.
(Frankly, this is mostly because personally I treat trunk as 'stable', using it for normal development. I believe that it significantly speedups thing and increases the stability, but there is very little tolerance for bugs that are not introduced by me...)
[Updated on: Mon, 12 July 2021 11:11] Report message to a moderator
|
|
|
Re: Finally going to git... (?) [message #57324 is a reply to message #57320] |
Mon, 12 July 2021 16:40 |
Novo
Messages: 1378 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Mon, 12 July 2021 05:11
It is not about that. It is about different subfolders having different access. Currently, more people than me can change theide, but only I can change Core/CtrlLib/CtrlCore... AFAIK, you cannot do that with git.
Git actually CAN do that. But that depends on a server.
Example: restricting pushes by dir/file name.
Regards,
Novo
|
|
|
|
|
Re: Finally going to git... (?) [message #57327 is a reply to message #57326] |
Mon, 12 July 2021 18:19 |
Novo
Messages: 1378 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Mon, 12 July 2021 11:37
My mistake. Should have wrote "github"...
Mirek
But you can use github as a read-only mirror...
A beauty of distributed VCS is that you do not have a central server as in case of SVN.
IMHO, the only reason to use github as a development server is that you absolutely do not want to host your own server.
My local gitolite server (hosted in an Alpine Linux container) uses only 12 MB of RAM. That is including OS itself.
Regards,
Novo
[Updated on: Mon, 12 July 2021 18:32] Report message to a moderator
|
|
|
|
|
Re: Finally going to git... (?) [message #57330 is a reply to message #57328] |
Mon, 12 July 2021 22:24 |
Novo
Messages: 1378 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Mon, 12 July 2021 15:08
And yes, not hosting own server is one of reasons.
I do not know what kind of git workflow you are planning to use, but, IMHO, you'll need a local server.
For example, when you need to check code developed on Windows on other platforms.
Other platforms won't be able to access your local repo to fetch changes. Well, unless you want to commit unchecked changes to github.
Well, you can access remote repo via SSH, but you are on Windows, AFAIK, and in the past lfs didn't work over SSH (not sure about now).
In case of a local server you will be able to fix problems on other platforms, and run "rebase interactive" to squash a commit with a fix. This way you will have a clean history.
IMHO, GIT is not just SVN without a server, it is a completely different tool with features like submodules, subtrees, worktrees, rebases, and the ability to easily destroy whole repo
Just my two cents.
BTW, github is slow.
Regards,
Novo
|
|
|
|
Re: Finally going to git... (?) [message #57332 is a reply to message #57329] |
Tue, 13 July 2021 00:30 |
Novo
Messages: 1378 Registered: December 2006
|
Ultimate Contributor |
|
|
Didier wrote on Mon, 12 July 2021 16:23Hello all,
If Upp goes full GIT and UppHub, one thing gets in the way : at work UppHub is useless : I can't access through FW (or maybe a proxy configuration could be added)
In your situation I'd clone Upp on a flash-drive, and clone a repo at work from this flash-drive.
One thing: this flash-drive repo should be either a mirror repo (if you do not want to push back to UppHub) or a bare repo, because in both cases you won't get source code checked out.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sat Dec 14 14:21:44 CET 2024
Total time taken to generate the page: 0.03059 seconds
|