Adding a custom submit tool to git p4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello guys,
I hope you don't mind so direct approach.
I work in a company where P4 is used as version control system. As you
can probably guess, it is slow, heavy and works in only 50% of cases.
In the interest of my mental health, I'd like to use git. But again,
direct migration to git is not possible due to the company policy. So
I thought about using git p4 as a substitute. Of course it is not so
easy. Clone / rebase / sync work as expected, but there's a problem
with submit. My company uses its own utility to submit changes instead
of the regular p4 utility (again, the company policy). The issue here
is that git-p4.py has hardcoded "p4" as part of p4_build_cmd function
and there is no way of changing it.
I can prepare a patch to change it (I know that dedicating some of my
free time to something my company will clearly benefit from is a dumb
idea, but I'm kind of desperate here) but before I do anything I have
two questions
1) Will such patch be accepted in the first place? This is quite odd
idea and I wouldn't be surprised if you don't want to agree on it.
2) If the answer is yes, do you have any recommendation regarding the
potential implementation?
Kind regards




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux