Comments (11)
Hi, thanks for your report !. I'll check this probably next week. If you have any work in progress, please share your commits ! This could only speed things up.
Can you tell me more precisely what is your windows environment (cygwin ?), I'm not really into python on windows, but I'll look if it's possible to get gitchangelog working on it without inconsiderate effort.
from gitchangelog.
I was running Windows 8 x64 and Python 2.7 on the default shell. Things were just not behaving properly. I'll install cygwin and return with some news.
from gitchangelog.
gitchangelog
explicitely uses system shell calls and uses pipes for example,
if you have git version >= 1.7.4.2, you can replace the system call on the line you pointed at with:
git rev-list --max-parents=0 HEAD
And take the first element by default, this would give:
identifier = self.swrap("git rev-list --max-parents=0 HEAD").split("\n")[0]
from gitchangelog.
Installing cygwin made it work by calling directly the python script, althoguh things gets funny with the path resolution under windows, with a minor fix, everything worked out pretty well.
Can't run the autogen.sh, probably due to that funny path resolution? It doesn't detects the git repository, although calling the python script directly will do it.
from gitchangelog.
On bash (in cygwin or on linux), you have to specify ./autogen.sh
to run autogen.sh
... (I'm perhaps stating the obvious for you, but who knows ?).
would you be so kind to share your fixes so I can review them and include them if necessary ?
Perhaps a copy-paste of the bash session with some of the issues you are talking about would help me enlighten them ! I'm not sure to understand in what obstacles you ran into...
from gitchangelog.
The current directory is a Git repository but it fails to detect it, on line 115 of autogen.sh
@Shirkit-Laptop /cygdrive/d/MC Development $ git tag 0.1.0 0.1.1
@Shirkit-Laptop /cygdrive/d/MC Development $ ./autogen.sh autogen.sh: error: Didn't find a git repository. autogen.sh uses git to create changelog and version information.
And when running the Python script, it as it is, this is the output:
@Shirkit-Laptop /cygdrive/d/MC Development $ python gitchangelog.py File '/cygdrive/d/MC Development/D:\\MC Development\\gitchangelog.rc' does not exists.
If I change lines 713-714
from True
to False
, it works.
from gitchangelog.
can I ask you to check the branch:
https://github.com/vaab/gitchangelog/tree/issue_7
this is on another remote, it fixes a lot of things, and in particular the ./autogen.sh
issue, and it should be much faster.
I don't think that the bug with path resolution is fixed under windows, BUT it might work because this last version won't check your home directory nor a global configuration directory. So it might have fixed it also.
I didn't have time to test it under windows. If you have some, that would be great.
And many thx for your report.
from gitchangelog.
The last issue_7
branch has made into the 2.1.0
release. I would be happy if you can give me some feedback on your issues on windows.
from gitchangelog.
@Shirkit could you send a git ref to the code you've already written ?, even if it is on an older version of gitchangelog
.
I have very little experience of windows, and I'm interested in how you managed to get through the first exceptions. If you can't I'll find how on my own, I just wanted to avoid loosing too much time on these.
Many thanks.
from gitchangelog.
With the recent developpement I decided to include the full windows support in next release 3.0.0 ... More work is needed to include windows testing and documentation before inclusion. But if you need windows compatibility, #42 and #43 are providing working fixes.
from gitchangelog.
FYI, the last version of gitchangelog is now compatible with windows thanks to this #68 .
from gitchangelog.
Related Issues (20)
- [WinError 2] The system cannot find the file specified HOT 3
- ignore_regexps doesnt match against whole message, only subject
- regexp filter skipping matches
- Added an AUR package.
- Update Readme to include basic full example. HOT 2
- Exception with FileInsertIntoFirstRegexMatch HOT 2
- pystache missing as dependency? HOT 2
- UnicodeEncodeError character maps to undefined HOT 7
- Support for pre-commit
- How to show changelog since certain commit? HOT 1
- Use branch name for section categorisation HOT 1
- test failures caused by 3.0.4 package missing test/__init__.py
- Is this project still maintained ? HOT 2
- Slow execution on big repositories under Cygwin HOT 8
- Enhancement Request: Multi-package repo support HOT 1
- Request: drop d2to1
- Offering to help with the project HOT 6
- Branch tags are erroneously included into change log
- Changelog usage?
- Incorrect gitchangelog format
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 gitchangelog.