Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • kdesrc-build kdesrc-build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 50
    • Issues 50
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SDKSDK
  • kdesrc-buildkdesrc-build
  • Merge requests
  • !209

Associate build data with manually-specified rc file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Nate Graham requested to merge ngraham/kdesrc-build:independent-build-data-with-manually-specified-rc-files into master Mar 26, 2023
  • Overview 3
  • Commits 1
  • Pipelines 3
  • Changes 1

Currently, the build data is stored globally when using the default rcfile, and when using a manually-specified rcfile, it is stored in the same directory as the rcfile. This generally works.

But if you have two rcfiles that live in the same directory, they inappropriately share build data, because each one stomps on the build date file generated by the other one. You can manually specify persistent-data-file in your config file to fix this, but that may be forgotten, not known about, or unwanted.

This commit fixes that by appending the name of the manually-specified rcfile to the build data file when not using persistent-data-file in the config file. This automatically sassociated each manually-specified rcfile with its own private store of build data, even when it lives in the same directory as another rcfile.

There is no change when using the default global rcfile behavior.

Fixes #117 (closed)

Edited Mar 27, 2023 by Nate Graham
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: independent-build-data-with-manually-specified-rc-files