[PR #117] [MERGED] Use dep instead of govendor #121

Closed
opened 2026-02-16 10:24:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/git/pull/117
Author: @lunny
Created: 5/14/2018
Status: Merged
Merged: 5/15/2018
Merged by: @lunny

Base: masterHead: lunny/dep


📝 Commits (3)

  • c38940f use dep instead of govendor
  • 6bffbe4 remove example
  • 3ef07ce change dependenci github.com/Unknwon from 1.0 to master

📊 Changes

10 files changed (+195 additions, -66 deletions)

View changed files

Gopkg.lock (+38 -0)
Gopkg.toml (+34 -0)
vendor/github.com/Unknwon/com/.gitignore (+24 -0)
vendor/github.com/Unknwon/com/.travis.yml (+13 -0)
📝 vendor/github.com/Unknwon/com/convert.go (+10 -0)
📝 vendor/github.com/Unknwon/com/string.go (+31 -21)
vendor/github.com/mcuadros/go-version/.gitignore (+22 -0)
vendor/github.com/mcuadros/go-version/.travis.yml (+1 -0)
vendor/github.com/stretchr/testify/LICENCE.txt (+22 -0)
vendor/vendor.json (+0 -45)

📄 Description

I'm creating a PR on gitea to use dep, but I encountered

init failed: unable to solve the dependency graph: Solving failure: No versions of code.gitea.io/git met constraints:
	f1ecc138bebcffed32be1a574ed0c2701b33733f: Could not introduce code.gitea.io/git@f1ecc138bebcffed32be1a574ed0c2701b33733f, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root)
	master: Could not introduce code.gitea.io/git@master, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root)
	appleboy-patch-1: Could not introduce code.gitea.io/git@appleboy-patch-1, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root)
	appleboy-patch-2: Could not introduce code.gitea.io/git@appleboy-patch-2, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root)
	git-1.7.0: Could not introduce code.gitea.io/git@git-1.7.0, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root)

It seems I have to convert this repo at first.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/git/pull/117 **Author:** [@lunny](https://github.com/lunny) **Created:** 5/14/2018 **Status:** ✅ Merged **Merged:** 5/15/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `lunny/dep` --- ### 📝 Commits (3) - [`c38940f`](https://github.com/go-gitea/git/commit/c38940f42cbe8228e94614e3266b51c2b36c5a10) use dep instead of govendor - [`6bffbe4`](https://github.com/go-gitea/git/commit/6bffbe40f0fb43b158c3e808d72204eb00a99010) remove example - [`3ef07ce`](https://github.com/go-gitea/git/commit/3ef07ce1064acb7e714cc3bc63823a791645d85c) change dependenci github.com/Unknwon from 1.0 to master ### 📊 Changes **10 files changed** (+195 additions, -66 deletions) <details> <summary>View changed files</summary> ➕ `Gopkg.lock` (+38 -0) ➕ `Gopkg.toml` (+34 -0) ➕ `vendor/github.com/Unknwon/com/.gitignore` (+24 -0) ➕ `vendor/github.com/Unknwon/com/.travis.yml` (+13 -0) 📝 `vendor/github.com/Unknwon/com/convert.go` (+10 -0) 📝 `vendor/github.com/Unknwon/com/string.go` (+31 -21) ➕ `vendor/github.com/mcuadros/go-version/.gitignore` (+22 -0) ➕ `vendor/github.com/mcuadros/go-version/.travis.yml` (+1 -0) ➕ `vendor/github.com/stretchr/testify/LICENCE.txt` (+22 -0) ➖ `vendor/vendor.json` (+0 -45) </details> ### 📄 Description I'm creating a PR on gitea to use `dep`, but I encountered ``` init failed: unable to solve the dependency graph: Solving failure: No versions of code.gitea.io/git met constraints: f1ecc138bebcffed32be1a574ed0c2701b33733f: Could not introduce code.gitea.io/git@f1ecc138bebcffed32be1a574ed0c2701b33733f, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root) master: Could not introduce code.gitea.io/git@master, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root) appleboy-patch-1: Could not introduce code.gitea.io/git@appleboy-patch-1, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root) appleboy-patch-2: Could not introduce code.gitea.io/git@appleboy-patch-2, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root) git-1.7.0: Could not introduce code.gitea.io/git@git-1.7.0, as it has a dependency on github.com/Unknwon/com with constraint ^1.0.0, which has no overlap with existing constraint master from (root) ``` It seems I have to convert this repo at first. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:24:10 -05:00
yindo closed this issue 2026-02-16 10:24:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/git#121