Comments (7)
I don't see any related changes between these two releases. Can you please share a reproducible example (e.g. the .repos
file) to figure out why it has changed for you.
from vcstool.
It doesn't seem to have problems on linux, but on windows with version 0.1.35 it will have the problem on this repos file.
repositories:
stuff:
type: svn
url: https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD
from vcstool.
Hm , that looks weird. If the entry doesn't have a version key I would expect the version
field in the ImportCommand
to be None
:
vcstool/vcstool/commands/import_.py
Lines 141 to 144 in b6d5f5f
None
the line of code the TypeError
is happening shouldn't even be used due to the condition it is being wrapped in (see vcstool/vcstool/clients/svn.py
Lines 127 to 128 in b6d5f5f
Maybe you can add some debug statement before that line and report what type and value command.version
is on your case.
You can also try the following patch (e3c95ab) and see if it helps.
from vcstool.
It seems that my example was invalid. Here is a better one.
repositories:
stuff:
type: svn
url: https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco
version: HEAD
Sorry for that. The trick here is that the version is always parsed as a string, even if it is an integer, so the print statement trying to print is a number will always fail.
from vcstool.
Thanks for clarifying. That example makes sense.
from vcstool.
What are the chances of getting a release for these changes? It would just be nice to install them from pypi.
from vcstool.
Absolutely. 🚢 0.1.36
from vcstool.
Related Issues (20)
- Invocation of command 'import' on client 'hg' failed HOT 2
- submodules usage w/o .gitmodules file HOT 1
- "vcs pull" gets stuck indefinitely
- [feature] option to use hash attached to the relative path instead of the version field
- [feature] self checkout from a branch
- Could not checkout ref '...': fatal: invalid reference HOT 1
- startup time is very long HOT 1
- bad non-descriptive error message 'NoneType' object is not subscriptable HOT 1
- git: vcs import by hash does not work for hashes not in local history HOT 1
- Input data is not valid yaml format: mapping values are not allowed here HOT 5
- [Feature Request] version by author or commit date-time HOT 5
- Import non git tars
- VCS Tool is occasionally causing ssh key errors on enterprise git server HOT 4
- vcs export exits with error if there are local branches that don't track remote branches
- Ignore self signed cert for a specific repository HOT 4
- DeprecationWarning: pkg_resources is deprecated as an API HOT 1
- [feature] Ability to only show errors
- validate fails with commit hash HOT 3
- vcs export --exact-with-tags output fails pre-commit linting rules
- BUG: VCS status does not indicate problems if a tag was force-pushed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcstool.