question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Relative "path" setting

See original GitHub issue

It would be useful if we had the option to use a relative path for the ‘path’ option, with it relative to the config file itself (like nuget.config allows). I tried it with both ".\\" and "" but both gave errors about invalid URIs

When running:

sleet push --config path_to_config.json -s myLocalFeed path_to_nupkg

{
  "username": "",
  "useremail": "",
  "sources": [
    {
      "name": "myLocalFeed",
      "type": "local",
      "path": ".\\",
      "baseURI": "https://mungojam.github.io/sleet-test/"
    }
  ]
}

[System.UriFormatException] Invalid URI: The format of the URI could not be determined.

{
  "username": "",
  "useremail": "",
  "sources": [
    {
      "name": "myLocalFeed",
      "type": "local",
      "path": "",
      "baseURI": "https://mungojam.github.io/sleet-test/"
    }
  ]
}

[System.UriFormatException] Invalid URI: The URI is empty.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
emgartencommented, Jan 27, 2019
1reaction
emgartencommented, Jan 26, 2019

There will be a release in the new few days. A perf change went in right before your changes, I’m working on testing that and then I’ll get a release out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set relative path to current folder? - html
Is it possible to create a relative link on this page that points to http://example.com/folder/ without specifying folder anywhere? (And using ...
Read more >
Understanding Relative File Paths
A relative path describes the location of a file relative to the current (working) directory*. An absolute path describes the location from the ......
Read more >
relative path
No information is available for this page.
Read more >
Configure relative paths
A relative path binds policies to a specific relative path location (for example /test/path ). When the API Gateway receives a request on...
Read more >
File path formats on Windows systems
They are relative to the current directory of a specified drive; that is, they begin with a drive letter, a volume separator, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found