topic2k / pygcgen Goto Github PK
View Code? Open in Web Editor NEWAutomaticaly generate a changelog based on GitHub issues and pull requests.
License: MIT License
Automaticaly generate a changelog based on GitHub issues and pull requests.
License: MIT License
Would love to have this be available through a pip install!
This project needs its own CHANGELOG.md!
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
if pygcgen is run without at least one section no issues won't show up in changelog.
Description:
When running with the hardcoded MAX_SIMULTANEOUS_REQUESTS
set to 25, in fetcher.py
, I get one error and traceback when one of the worker makes a connection. See below for traceback. So one run generates one traceback.
I've tried setting MAX_SIMULTANEOUS_REQUESTS
to 1, which avoids the error. Setting it to 10 also avoids the error. I haven't investigated further.
If this setting is sensitive to different users, it would be cool to have a command line option to easily change it. But maybe it's enough to lower it somewhat? Or maybe there's a totally different approach and solution to this problem?
Thanks for this package! It's saved me a bunch of work.
pygcgen version:
pygcgen v0.2.2
Tested Python versions:
Python 3.5.4
Python 3.6.5
Tested command:
pygcgen -u OWNER -p REPO --section "**Breaking Changes:**" "breaking change" --with-unreleased --future-release 0.13.0 -v
Traceback:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/martin/.virtualenvs/p3.6/lib/python3.6/site-packages/pygcgen/fetcher.py", line 260, in worker
page=page, per_page=PER_PAGE_NUMBER)
File "/home/martin/.virtualenvs/p3.6/lib/python3.6/site-packages/agithub/base.py", line 157, in get
return self.request('GET', url, None, headers)
File "/home/martin/.virtualenvs/p3.6/lib/python3.6/site-packages/agithub/base.py", line 207, in request
conn.request(method, url, requestBody.process(), headers)
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/usr/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.6/socket.py", line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
First of all thank you for this port. I really like the original ruby version but being a python shop this is much easier to integrate into out workflows.
One difference I noticed when trying to move existing projects to this port is that the label headers are being set as H1s instead of H2s for example
For Example
# Change Log
# [5.1.1](https://github.com/foo/bar/tree/5.1.1) (2018-05-22)
The ruby version uses H2s (## ...
) and it does seem like more logical HTML since # Change Log
is an H1.
That version looks like
# Change Log
## [5.1.1](https://github.com/foo/bar/tree/5.1.1) (2018-05-22)
Is there any to configure this?
Again thanks for the port.
Hello @topic2k, just found your port from Ruby and just wanted to say Thank you!
We have python-only [and slim] infrastructure and incorporating Ruby and gems and all the other Ruby related things of proper version into our CI just to get the Changelog built was a huge pain.
Now it is just
RUN pip install --no-cache-dir pygcgen
In our dockerfile for CI.
Thanks once again. This issue is wontfix
please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.