1. 17 May, 2020 6 commits
    • Michael Pyne's avatar
    • Michael Pyne's avatar
      git: Revert change to git-desired-protocol. · 52026a14
      Michael Pyne authored
      We *always* use HTTPS to fetch new objects from git.
      We *can support* setting the git "push URL" to HTTPS also, and some
      users will need this. But this complicates the existing practice of
      using git + SSH to push changes to the KDE git infrastructure, so revert
      this part of the change.
    • Johan Ouwerkerk's avatar
      Make sure to remove old pushInsteadOf mapping if git-desired-protocol changes. · 940f3355
      Johan Ouwerkerk authored
      Also: x-invent-push-urls is now the only way to go, the feature toggle is no longer useful.
    • Michael Pyne's avatar
      ipc: Fix handling of persistent option changes in a subprocess. · 76a8ee1b
      Michael Pyne authored
      This addresses the bug causing kdesrc-build to warn repeatedly about a
      git remote having moved (because it was comparing against a persistent
      option set the normal way).
      Unfortunately the persistent option update feature in the IPC code has
      probably never worked properly as far as I can tell, so this may also
      fix other minor bugs.
      What I'd like to do before merging this all is to find a way to
      integrate into the test suite somehow.
    • Michael Pyne's avatar
      kde_projects: Locate KDE projects post-Gitlab migration. · ef25f683
      Michael Pyne authored
      * kde-build-metadata has moved, update our pre-baked module to request
        the right name.
      * Enable the invent.kde.org logic by default.
      * Use invent.kde.org instead of anongit.kde.org for kde: fetch URL
      kdesrc-build still makes a lot of complaints about having to move git
      remotes for some reason but at least I can make it through part of a
    • Michael Pyne's avatar
      kde_projects: Follow symlinks to ensure metadata repo is read. · 947120fb
      Michael Pyne authored
      Into the migration to Gitlab, kdesrc-build was oddly failing to
      understand the KDE project database.
      Long story short, the sysadmins tried to help the various scripts by
      placing a symlink from the old module location to the new
      'invent-modules' in repo-metadata. However kdesrc-build's search logic
      didn't follow symlinks since Perl's File::Find doesn't do this by
      It's an easy option to add now though, so I've done that and tried to
      add some better logic checks / error messages for similar problems that
      might recur in the future.
      kdesrc-build still fails to build many modules though because the
      metadata key we're checking doesn't give the right path? I'll look into
      that more...
  2. 11 May, 2020 2 commits
  3. 10 May, 2020 1 commit
    • Michael Pyne's avatar
      ui: Make the summary output logdir clickable in most TTYs. · bec2c21c
      Michael Pyne authored
      It would be even easier for most users of our graphical desktop
      environment to look at log files if they could click on the log dir.
      By prefixing the log dir path with file://, now they can (in Konsole and
      I'm sure most others).
      I thought about implementing OSC8 support (TTY escape codes for
      hyperlinks) but we don't support that in Konsole and I'm not sure how
      many other TTYs are commonly used in Plasma.
  4. 09 May, 2020 1 commit
  5. 04 May, 2020 1 commit
  6. 03 May, 2020 6 commits
  7. 02 May, 2020 4 commits
  8. 27 Apr, 2020 1 commit
  9. 22 Apr, 2020 1 commit
  10. 21 Apr, 2020 1 commit
  11. 19 Apr, 2020 2 commits
  12. 06 Apr, 2020 2 commits
  13. 05 Apr, 2020 1 commit
  14. 04 Apr, 2020 1 commit
  15. 02 Apr, 2020 1 commit
  16. 27 Mar, 2020 1 commit
  17. 26 Mar, 2020 1 commit
  18. 24 Mar, 2020 1 commit
  19. 22 Mar, 2020 1 commit
  20. 18 Mar, 2020 1 commit
  21. 14 Mar, 2020 2 commits
    • Michael Pyne's avatar
      dep-resolv: Try to sort in rc-file order if not otherwise prevented. · 7c601801
      Michael Pyne authored
      This commit introduces a secondary build ordering to add to the ordering
      criteria, so that modules would build approximately in the order seen
      within the config file as defined by the user.
      This permits the user some control in module ordering (as was previously
      the case), while still building per the dependencies specified in
      kde-build-metadata and prioritizing modules that are commonly depended
      upon to build earlier.
      To support situations where kdesrc-build is used without an rc-file we
      still include the previous tiebreaker (sorting by module name) to ensure
      a reproducible build order for a given (and unchanged) set of dependency
      information and selectors.
      Fixes #41.
    • Michael Pyne's avatar
      Update copyright years. · 241a6775
      Michael Pyne authored
  22. 13 Mar, 2020 1 commit
    • Michael Pyne's avatar
      git: Fix detection of repos with local changes to stash. · bacb2b2a
      Michael Pyne authored
      kdesrc-build can get confused about whether a git repository has local
      changes or not. This is a problem because if there are no local changes,
      but kdesrc-build thinks there were local changes, kdesrc-build will try
      to have git stash those local changes. If there is no such change to
      stash, git-stash will still succeed, but the later git-stash command to
      reverse the operation will fail (because there's no stash to reverse).
      This then causes kdesrc-build to fail the update.
      The issue, as found and fixed by Bruno Carvalho, is that the
      git-status command kdesrc-build uses to see if there are local changes
      can output a header even with the --short option passed, if the
      status.branch option is set for the user's git configuration.
      The fix is to use an underlying facility in git to generate diffs
      directly and have git itself return an exit code to flag whether there
      are local changes.
      Another potential issue which I hope this will fix is that
      git-submodules have also been known to confuse kdesrc-build here,
      especially with Qt5's qtwebengine. But we'll see.
      Differential Revision: https://phabricator.kde.org/D27639
  23. 19 Feb, 2020 1 commit