[kdesrc-build] [Bug 436739] kdesrc-build fails to update packages that don't have a "master" branch

2022-07-07 Thread Michael Pyne
https://bugs.kde.org/show_bug.cgi?id=436739

Michael Pyne  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/sdk/
   ||kdesrc-build/commit/f1d429d
   ||147f8ec0240e6ac0f6ab2eec797
   ||a6c4dd
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Michael Pyne  ---
Git commit f1d429d147f8ec0240e6ac0f6ab2eec797a6c4dd by Michael Pyne.
Committed on 08/07/2022 at 00:52.
Pushed by mpyne into branch 'master'.

git: Don't fail to clone due to branch name if none required.

There is a wider variety of potential default branch names from a git
repository that we might want to clone.  Many use now 'main' but not all
of them. We also have modules that use something else entirely, like
'dev' (as reported in bug 436739).

Most of the time the user doesn't actually care about the branch, they
just want whatever the mainline trunk is. To handle this we had
previously defaulted to assuming the branch was 'master' so we could
optimize the amount of data transferred during initial clone.

Now this is likely to lead to an error. Instead, if the user hasn't
specified otherwise, just perform the git clone as normal.

To do this right there's a wee bit of other work elsewhere to detect
which branch head we actually got from the remote git repository but
that's not difficult to do either.

M  +21   -6modules/ksb/Updater/Git.pm

https://invent.kde.org/sdk/kdesrc-build/commit/f1d429d147f8ec0240e6ac0f6ab2eec797a6c4dd

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesrc-build] [Bug 436739] kdesrc-build fails to update packages that don't have a "master" branch

2021-06-09 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=436739

Justin Zobel  changed:

   What|Removed |Added

 CC||justin.zo...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesrc-build] [Bug 436739] kdesrc-build fails to update packages that don't have a "master" branch

2021-05-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=436739

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.