kopia lustrzana https://github.com/collective/icalendar
Merge branch 'master' into feat/oss-fuzz-integration
commit
65bf90b6dc
|
@ -110,3 +110,20 @@ jobs:
|
|||
fi
|
||||
twine check dist/*
|
||||
twine upload dist/*
|
||||
|
||||
deploy-github-release:
|
||||
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
needs:
|
||||
- run-tests
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: github-release
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: create release
|
||||
uses: elgohr/Github-Release-Action@v4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
with:
|
||||
title: ${{ github.ref_name }}
|
||||
|
|
|
@ -17,6 +17,9 @@ Breaking changes:
|
|||
New features:
|
||||
|
||||
- Added fuzzing harnesses, for integration to OSSFuzz.
|
||||
- icalendar releases are deployed to Github releases
|
||||
Fixes: #563
|
||||
[jacadzaca]
|
||||
|
||||
Bug fixes:
|
||||
|
||||
|
@ -28,6 +31,8 @@ Bug fixes:
|
|||
[jacadzaca]
|
||||
- Use non legacy timezone name.
|
||||
Ref: #567
|
||||
- Add some compare functions.
|
||||
Ref: #568
|
||||
|
||||
5.0.10 (unreleased)
|
||||
-------------------
|
||||
|
|
|
@ -257,6 +257,11 @@ class vDDDLists:
|
|||
out.append(vDDDTypes.from_ical(ical_dt, timezone=timezone))
|
||||
return out
|
||||
|
||||
def __eq__(self, other):
|
||||
if not isinstance(other, vDDDLists):
|
||||
return False
|
||||
return self.dts == other.dts
|
||||
|
||||
|
||||
class vCategory:
|
||||
|
||||
|
@ -865,6 +870,11 @@ class vUTCOffset:
|
|||
return -offset
|
||||
return offset
|
||||
|
||||
def __eq__(self, other):
|
||||
if not isinstance(other, vUTCOffset):
|
||||
return False
|
||||
return self.td == other.td
|
||||
|
||||
|
||||
class vInline(str):
|
||||
"""This is an especially dumb class that just holds raw unparsed text and
|
||||
|
|
Ładowanie…
Reference in New Issue