Skip to content

Commit 1f8a16b

Browse files
authored
Remove hatch-vcs metadata hook that uses commit_hash (#461)
Temporarily comment out dynamic URLs using the `commit_hash` variable in the tool.hatch.metadata.hooks.vcs.urls section in pyproject.toml. Required to fix builds from sdist. Relates to #460
1 parent 014bfae commit 1f8a16b

File tree

4 files changed

+53
-5
lines changed

4 files changed

+53
-5
lines changed

gitlint-core/LICENSE

-1
This file was deleted.

gitlint-core/LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Joris Roovers
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

gitlint-core/README.md

-1
This file was deleted.

gitlint-core/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Gitlint-core
2+
3+
# gitlint: [jorisroovers.github.io/gitlint](http://jorisroovers.github.io/gitlint/) #
4+
5+
[![Tests](https://github.com/jorisroovers/gitlint/workflows/Tests%20and%20Checks/badge.svg)](https://github.com/jorisroovers/gitlint/actions?query=workflow%3A%22Tests+and+Checks%22)
6+
[![Coverage Status](https://coveralls.io/repos/github/jorisroovers/gitlint/badge.svg?branch=fix-coveralls)](https://coveralls.io/github/jorisroovers/gitlint?branch=fix-coveralls)
7+
[![PyPi Package](https://img.shields.io/pypi/v/gitlint.png)](https://pypi.python.org/pypi/gitlint)
8+
![Supported Python Versions](https://img.shields.io/pypi/pyversions/gitlint.svg)
9+
10+
Git commit message linter written in python, checks your commit messages for style.
11+
12+
**See [jorisroovers.github.io/gitlint](http://jorisroovers.github.io/gitlint/) for full documentation.**
13+
14+
<a href="http://jorisroovers.github.io/gitlint/" target="_blank">
15+
<img src="https://raw.githubusercontent.com/jorisroovers/gitlint/main/docs/images/readme-gitlint.png" />
16+
</a>
17+
18+
## Contributing ##
19+
All contributions are welcome and very much appreciated!
20+
21+
**I'm [looking for contributors](https://github.com/jorisroovers/gitlint/issues/134) that are interested in taking a more active co-maintainer role as it's becoming increasingly difficult for me to find time to maintain gitlint. Please leave a comment in [#134](https://github.com/jorisroovers/gitlint/issues/134) if you're interested!**
22+
23+
See [jorisroovers.github.io/gitlint/contributing](http://jorisroovers.github.io/gitlint/contributing) for details on
24+
how to get started - it's easy!
25+
26+
We maintain a [loose project plan on Github Projects](https://github.com/users/jorisroovers/projects/1/views/1).

gitlint-core/pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ Homepage = "https://jorisroovers.github.io/gitlint"
6767
Documentation = "https://jorisroovers.github.io/gitlint"
6868
Source = "https://github.com/jorisroovers/gitlint/tree/main/gitlint-core"
6969
Changelog = "https://github.com/jorisroovers/gitlint/blob/main/CHANGELOG.md"
70-
'Source Commit' = "https://github.com/jorisroovers/gitlint/tree/{commit_hash}/gitlint-core"
70+
# TODO(jorisroovers): Temporary disable until fixed in hatch-vcs (see #460)
71+
# 'Source Commit' = "https://github.com/jorisroovers/gitlint/tree/{commit_hash}/gitlint-core"

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ Homepage = "https://jorisroovers.github.io/gitlint"
4545
Documentation = "https://jorisroovers.github.io/gitlint"
4646
Source = "https://github.com/jorisroovers/gitlint"
4747
Changelog = "https://github.com/jorisroovers/gitlint/blob/main/CHANGELOG.md"
48-
'Source Archive' = "https://github.com/jorisroovers/gitlint/archive/{commit_hash}.zip"
49-
'Source Commit' = "https://github.com/jorisroovers/gitlint/tree/{commit_hash}"
48+
# TODO(jorisroovers): Temporary disable until fixed in hatch-vcs (see #460)
49+
# 'Source Archive' = "https://github.com/jorisroovers/gitlint/archive/{commit_hash}.zip"
50+
# 'Source Commit' = "https://github.com/jorisroovers/gitlint/tree/{commit_hash}"
5051

5152
# Use metadata hooks specified in 'hatch_build.py'
5253
# (this line is critical when building wheels, when building sdist it seems optional)

0 commit comments

Comments
 (0)