[asterisk-dev] Gerrit offline?

asterisk at phreaknet.org asterisk at phreaknet.org
Wed Aug 23 10:02:59 CDT 2023


On 8/23/2023 8:30 AM, George Joseph wrote:
> On Tue, Aug 22, 2023 at 6:03 PM <asterisk at phreaknet.org> wrote:
>> On 8/19/2023 11:19 AM, George Joseph wrote:
>>> Here's a gist that does all the work. Create a directory to hold the
>>> patch
>>> files then run
>>> the script from a gerrit asterisk clone directory providing the patch
>>> directory.
>> Hi George,
>>      Sorry, just getting to this now. I'm assuming you meant to link a
>> GitHub gist, but I'm not seeing a link anywhere... didn't find any on
>> your profile either. Is this available somewhere?
> Oops...
> https://gist.github.com/gtjoseph/f98d5a583b0d2977686655a56e28ecff
Thanks George!
    Does this run successfully for you? I downloaded a fresh Gerrit repo 
and it seems git doesn't like the fetch/checkout combination used:

root at debian11:/usr/src/gerrit/asterisk# git fetch 
https://gerrit.asterisk.org/asterisk refs/changes/55/17655/25
 From https://gerrit.asterisk.org/asterisk
  * branch                  refs/changes/55/17655/25 -> FETCH_HEAD
root at debian11:/usr/src/gerrit/asterisk# git checkout -b change-17655 
FETCH HEAD
fatal: Cannot update paths and switch to branch 'change-17655' at the 
same time.

It seems to me like only one or the other is necessary, just want to 
make sure I'm not missing something important. If I do this they all 
have names like 
"patches/19467-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch" 
but the actual Gerrit patch number is correct, the same name is used for 
all of them, e.g. below. Same if I swap the effective command. I'm not 
concerned about the name as much, but the patches are actually all 
identical (just the first one).

root at debian11:/usr/src/gerrit/asterisk# ls -la patches
total 140
drwxr-xr-x  2 root root 4096 Aug 23 10:57 .
drwxr-xr-x 33 root root 4096 Aug 23 10:56 ..
-rw-r--r--  1 root root 1047 Aug 23 10:56 
17655-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
17719-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
17948-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
18186-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
18369-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
18574-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
18577-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
18829-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
19211-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19264-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
19447-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
19467-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
19534-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
19572-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:57 
19655-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19718-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19740-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19741-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19748-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19749-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19793-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19797-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19921-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
19979-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20033-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20037-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20038-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20058-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20059-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20068-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20069-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20080-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch
-rw-r--r--  1 root root 1047 Aug 23 10:56 
20083-pbx_dundi-Fix-PJSIP-endpoint-configuration-check.patch



More information about the asterisk-dev mailing list