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, Guys! Thank You A Lot For Your Great Software, But I'Ve Got A Problem. I Have Got Two Remotes: Gitlab And Gitea. The Branch From Which I Run The Code Is Upstreamed With Gitea. However, In The Clearml Experiment, Gitlab Repository Is Automatically Sele

Hi, guys! Thank you a lot for your great software, but I've got a problem.
I have got two remotes: Gitlab and Gitea. The branch from which I run the code is upstreamed with Gitea. However, in the ClearML experiment, Gitlab repository is automatically selected. What am I doing wrong?

Sorry for blurry URLs, I don't know if I can show them according to company's rules. 🤐

  
  
Posted 2 years ago
Votes Newest

Answers 9


AgitatedDove14 Exactly

  
  
Posted 2 years ago

How does ClearML select reference branch? Could it be that ClearML only checks "origin" branch?

Yes 😞 I think we can quickly fix that, I'm just trying to realize if there are down sides to running "git ls-remote --get-url" without origin

  
  
Posted 2 years ago

It returns Gitlab url as it is pinned to origin.
$ git ls-remote --get-url giteareturns Gitea url.

  
  
Posted 2 years ago

For Task creation I am using Task.init in my code. Due to documentation it should make "A link to the running git repository (including commit ID and local uncommitted changes)", however it chooses another repository.

  
  
Posted 2 years ago

$ git ls-remote --get-urlalso returns Gitea url.

  
  
Posted 2 years ago

I don't know if this will always work.
You have correctly describe my issue. How does ClearML select reference branch? Could it be that ClearML only checks "origin" branch?

  
  
Posted 2 years ago

So the issue is that you have two reference branches on the local git, one to gitlab one to gitea and it fails to understand which on is the correct remote ...
I wonder if "git ls-remote --get-url" will always work ?!

  
  
Posted 2 years ago

Hi MinuteGiraffe30
Are you saying that when you are running you code locally with a gitea repository, cleamrl incorrectly adds a link to gitlab ?

  
  
Posted 2 years ago

MinuteGiraffe30 if you are running the following command while your current directory is where you code is, what are you getting?

$ git ls-remote --get-url origin

  
  
Posted 2 years ago
1K Views
9 Answers
2 years ago
one year ago
Tags