Skip to content
Unfurl Cloud
  • Dashboard
  • Blueprints
  • Cloud
Projects Groups Topics Snippets
  • Help
  • Register
  • Sign in
  • unfurl unfurl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Fix absolute path check in export

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Adam requested to merge abreidenbach/relative-path into master Feb 10, 2023
  • Overview 5
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: AjBreidenbach

This solves a bug that was introduced recently where unfurl-server would record a path relative to the current working directory.

I changed get_relative_path to check whether the provided path is absolute, relative to the CWD, relative to the project root, or not found. It will return a path relative to the project path or None if the specified path does not exist.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: abreidenbach/relative-path