Adds issue and pull request templates and a big fat disclaimer about the quality of he Makefile

This commit is contained in:
Steven Sherry 2020-07-02 01:10:41 -05:00
parent 64000c352e
commit d04ea42267
No known key found for this signature in database
GPG Key ID: 5BE85414B74F99B1
5 changed files with 92 additions and 2 deletions

36
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,36 @@
---
name: Bug report
about: Please fill this out completely before submitting an issue
title: ''
labels: ''
assignees: ''
---
<!-- Thanks for contributing to libtesseract! Before you submit your Bug Report, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
### Checklist
- [] I've read the [Readme](https://github.com/SwiftyTesseract/SwiftyTesseract/blob/master/README.md)
- [] I've read the [Contribution Guidelines](https://github.com/SwiftyTesseract/SwiftyTesseract/blob/master/CONTRIBUTING.md)
- [] I've read the [Code of Conduct](https://github.com/SwiftyTesseract/SwiftyTesseract/blob/master/CODE_OF_CONDUCT.md).
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
**Sample Code**
<!-- Provide a link to a repo containing sample code that illustrates your problem. No dropbox or other file sharing to download zips will be accepted. -->
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Platforms**
* [] iOS <!-- Insert Version Here if Checked-->
* [] macOS Catalyst <!-- Insert Version Here if Checked-->
* [] macOS <!-- Insert Version Here if Checked-->
**Versions**
* Xcode:
* Swift:
* libtesseract:
**Additional context**
<!-- Provide any additional context that you believe would be helpful in resolving this issue -->

View File

@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
<!-- Thanks for contributing to SwiftyTesseract! Before you submit your Bug Report, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
### Checklist
- [] I've read the [Contribution Guidelines](https://github.com/SwiftyTesseract/SwiftyTesseract/blob/master/CONTRIBUTING.md)
- [] I've read the [Code of Conduct](https://github.com/SwiftyTesseract/SwiftyTesseract/blob/master/CODE_OF_CONDUCT.md).
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

22
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,22 @@
<!-- Thanks for contributing to libtesseract! Before you submit your pull request, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
### Checklist
- I've validated my changes against the following plaftorms:
- [] iOS - Deployment Target Version 11.0
- [] macOS Catalyst - Deployment Target Version 10.15
- [] macOS - Deployment Target Version 10.13
- [] I've updated the documentation if necessary.
- [] I've read the [README](https://github.com/SwiftyTesseract/libtesseract/blob/main/README.md)
- [] I've read the [Contribution Guidelines](https://github.com/SwiftyTesseract/libtesseract/blob/main/CONTRIBUTING.md)
- [] I've read the [Code of Conduct](https://github.com/SwiftyTesseract/libtesseract/blob/main/CODE_OF_CONDUCT.md)
### Motivation and Context
<!-- Why is this change required? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here. -->
### Description
<!-- Describe your changes in detail. -->
### Testing Steps
<!-- Steps, commands, or code used to test your changes. -->
<!-- Providing these will reduce the time needed for testing and review. -->

3
.github/stale.yml vendored Normal file
View File

@ -0,0 +1,3 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix

View File

@ -1,3 +1,9 @@
# Beware, this Makefile is a hot-mess hodgpodge that has accumulated cruft
# and changes and additions over the last couple of years and
# probably makes zero sense at first (and probably second and third) glance.
# You will see references to "fat" libaries that haven't been renamed after
# this was adapted to only build single architecture binaries.
# Many dragons lie beyond this comment block
PNG_VERSION := 1.6.36
PNG_NAME := libpng-$(PNG_VERSION)
JPEG_SRC_NAME := jpegsrc.v9c
@ -120,8 +126,6 @@ libtiffmakefile = $(foreach folder, $(libtifffolders), $(addprefix $(folder), Ma
libleptmakefile = $(foreach folder, $(libleptfolders), $(addprefix $(folder), Makefile) )
libtessmakefile = $(foreach folder, $(libtessfolders), $(addprefix $(folder), Makefile) )
# NEED TO LOOK AT WHERE THIS IS USED imagesmakefile = $(addprefix $(SOURCES)/, Makefile)
libleptfat = $(LIB_FAT_DIR)/$(libleptfiles)
libtessfat = $(LIB_FAT_DIR)/$(libtessfiles)
libpngfat = $(LIB_FAT_DIR)/$(libpngfiles)