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 Everyone, I Want To Clone A Git Repo With Clearml-Agent That Has To Following Url Format

Hi everyone,
I want to clone a git repo with clearml-agent that has to following url format

https://: ACCESS_TOKEN@mygitlab.com /user/repository.git

ClearML agent removes the access token for some reason and cloning fails. Is there any solution to this?

  
  
Posted one month ago
Votes Newest

Answers 6


Hey, that is unfortunately not possible as there are multiple projects from different users.

  
  
Posted one month ago

ReassuredTiger98 id suggest trying to set up diff queues for diff repos then - each with a read only token . The issue is really only when you want a single token to grant access to many repos . Little inconvenient but definitely possible .

Ill also say ive had an easy time forking and modifying the agent code for custom logic changes, so you can always consider that option as well . It’s easy enough to read to be honest .

  
  
Posted one month ago

Hi ReassuredTiger98 , you can simply set up the token in clearml.conf of the agent so the agent will have the rights to clone. What do you think?

  
  
Posted one month ago

Thanks, I will consider that!

  
  
Posted one month ago

Currently, my solution is to create an "agent-git" account and users can give read-access to this account which the clearml-agent then uses to clone. However, I find access-tokens to be a better solution. Unfortunately, clearml-agent removes the token from the git url

  
  
Posted one month ago

I see, makes sense. I think it's not supported currently. I'd suggest opening a Github issue to add this capability

  
  
Posted one month ago