Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Want To Run A Script Remotely On My Agent, But For It To Work I Need It To Download To The Agent The Whole Directory The Script Is In, Is It Possible?

hi, i want to run a script remotely on my agent, but for it to work i need it to download to the agent the whole directory the script is in, is it possible?

  
  
Posted 2 years ago
Votes Newest

Answers 10


Hi ConvolutedChicken69 ,
In order to import sibling files (I'm guessing that's why you're looking to download the entire directory), you'll need to use a GIT repository

  
  
Posted 2 years ago

the problem i have is, my code is using scripts that are located in multiple repos, when i execute remotely it only clones the repo the main script is in, so i end up having to clone the other ones manually in my code

  
  
Posted 2 years ago

also, if i create a submodule, will it clone it automatically as well?

  
  
Posted 2 years ago

thanks

  
  
Posted 2 years ago

🤞

  
  
Posted 2 years ago

the other repos i have are constantly worked on and changing too

Not only it will be cloned automatically, the git diff of the sub-modules are stored as well 🙂

  
  
Posted 2 years ago

not the best options as they also need to be maintained and updated, the other repos i have are constantly worked on and changing too

  
  
Posted 2 years ago

got it

  
  
Posted 2 years ago

so i end up having to clone the other ones manually in my code

Hi ConvolutedChicken69
Yes the problem is that there is no standard for multi repo environments
The best solution I can come up with is using git-submodules or packaging the auxiliary repo as wheels. wdyt?

  
  
Posted 2 years ago

sounds good then i think i'll try that, thanks!

  
  
Posted 2 years ago
558 Views
10 Answers
2 years ago
one year ago
Tags
Similar posts