Menu

#682 option in save vap to make URI references relative

open
nobody
None
5
2024-10-21
2019-05-31
No

With the new "demos" area on github, I often find that I want to write scripts and vaps on my local devel area, but then want to publish so that it works from the github site. This could be done automatically, by checking to see if URI references could be make relative using PWD references. This would be the same code as the embed data branch, but would not move data to embed it.

Related

Feature Requests: #682

Discussion

  • Jeremy Faden

    Jeremy Faden - 2019-05-31

    Right now, you can embed data in the .vap,.zip, then unpack it.

     
  • Jeremy Faden

    Jeremy Faden - 2019-05-31
     
  • Jeremy Faden

    Jeremy Faden - 2021-06-15
     
    • Ivar Christopher

      Jeremy,

      I don't really have a stake in this either way, but just to provide a
      counter-example:

      Suppose we have two people collaboratively working with a large data set. They
      both have the data set installed locally, but with different absolute path
      structures, but the same relative path structure from their respective working
      directories.

      In such a case, they would want to be sharing .vaps that worked seamlessly for
      both, but would not want to be schlepping data back and forth.

      Just a gedanken experiment--no idea if anyone works this way.

      Ta,

      Ivar

      On Tue, 15 Jun 2021, Jeremy Faden wrote:

      • Comment:

      I'm closing this because it's better to use the zip mechanism and just unzip it. There's the problem that the .vap.zip mechanism also embeds the remote data, but I think we're adding a switch to control this.


      [feature-requests:#682] option in save vap to make URI references relative

      Status: open
      Group: Next Development Release
      Created: Fri May 31, 2019 04:26 PM UTC by Jeremy Faden
      Last Updated: Fri May 31, 2019 04:26 PM UTC
      Owner: nobody

      With the new "demos" area on github, I often find that I want to write scripts and vaps on my local devel area, but then want to publish so that it works from the github site. This could be done automatically, by checking to see if URI references could be make relative using PWD references. This would be the same code as the embed data branch, but would not move data to embed it.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/autoplot/feature-requests/682/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #682

  • Jeremy Faden

    Jeremy Faden - 2021-06-15

    I'm closing this because it's better to use the zip mechanism and just unzip it. There's the problem that the .vap.zip mechanism also embeds the remote data, but I think we're adding a switch to control this. See https://sourceforge.net/p/autoplot/bugs/2359/

     

    Last edit: Jeremy Faden 2021-06-15