Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ body:
label: DMeta version
description: Which version of DMeta are you using?
options:
- DMeta 0.5
- DMeta 0.4
- DMeta 0.3
- DMeta 0.2
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/openscilab/dmeta.git
rev: v0.4
rev: v0.5
hooks:
- id: clear-metadata
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.5] - 2026-05-27
### Added
- GIF params in `params.py`
- `clear_gif_metadata` function in `functions.py`
Expand All @@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `CLEAR_HANDLERS` dict in `functions.py`
- `clear_file` function in `functions.py`
### Changed
- `RELEASE.md`
- `test.yml`
- `clear` function in `functions.py`
- `update` function in `functions.py`
Expand Down Expand Up @@ -103,7 +105,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `extract_docx` function in `util.py`
- `read_json` function in `util.py`

[Unreleased]: https://github.com/openscilab/dmeta/compare/v0.4...dev
[Unreleased]: https://github.com/openscilab/dmeta/compare/v0.5...dev
[0.5]: https://github.com/openscilab/dmeta/compare/v0.4...v0.5
[0.4]: https://github.com/openscilab/dmeta/compare/v0.3...v0.4
[0.3]: https://github.com/openscilab/dmeta/compare/v0.2...v0.3
[0.2]: https://github.com/openscilab/dmeta/compare/v0.1...v0.2
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ DMeta is an open source Python package that removes metadata of Microsoft Office
### PyPI

- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- Run `pip install dmeta==0.4`
- Run `pip install dmeta==0.5`
### Source code
- Download [Version 0.4](https://github.com/openscilab/dmeta/archive/v0.4.zip) or [Latest Source](https://github.com/openscilab/dmeta/archive/dev.zip)
- Download [Version 0.5](https://github.com/openscilab/dmeta/archive/v0.5.zip) or [Latest Source](https://github.com/openscilab/dmeta/archive/dev.zip)
- Run `pip install .`

## Usage
Expand Down Expand Up @@ -163,7 +163,7 @@ In your project root, create or update .pre-commit-config.yaml:
```yaml
repos:
- repo: https://github.com/openscilab/dmeta.git
rev: v0.4 # minimum v0.4 or commit SHA
rev: v0.5 # minimum v0.4 or commit SHA
hooks:
- id: clear-metadata
```
Expand Down Expand Up @@ -217,7 +217,7 @@ You can also join our discord server

## Acknowledgments

[Python Software Foundation (PSF)](https://www.python.org/psf/) granted DMeta library partially for version(s) 0.4.
[Python Software Foundation (PSF)](https://www.python.org/psf/) granted DMeta library partially for version(s) 0.4, 0.5.
[PSF](https://www.python.org/psf/) is the organization behind Python. Their mission is to promote, protect, and advance the Python programming language and to support and facilitate the growth of a diverse and international community of Python programmers.

<a href="https://www.python.org/psf/"><img src="https://github.com/openscilab/dmeta/raw/main/otherfiles/psf.png" height="65px" alt="Python Software Foundation"></a>
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
| ------------- | ------------------ |
| 0.4 | :white_check_mark: |
| < 0.4 | :x: |
| 0.5 | :white_check_mark: |
| < 0.5 | :x: |

## Reporting a vulnerability

Expand Down
2 changes: 1 addition & 1 deletion dmeta/params.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""DMeta parameters and constants."""
DMETA_VERSION = "0.4"
DMETA_VERSION = "0.5"
OVERVIEW = """
A Python library for removing personal metadata in Microsoft files(.docx, .pptx, .xlsx) and image files(.png, .jpg, .jpeg, .gif).

Expand Down
15 changes: 9 additions & 6 deletions otherfiles/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
4. `otherfiles/version_check.py`
5. `otherfiles/meta.yaml`
6. `dmeta/params.py`
7. `.pre-commit-config.yaml`
3. Update `CHANGELOG.md`
1. Add a new header under `Unreleased` section (Example: `## [0.1] - 2022-08-17`)
2. Add a new compare link to the end of the file (Example: `[0.2]: https://github.com/openscilab/dmeta/compare/v0.1...v0.2`)
3. Update `dev` compare link (Example: `[Unreleased]: https://github.com/openscilab/dmeta/compare/v0.2...dev`)
4. Create a PR from `release` to `dev`
4. Update `.github/ISSUE_TEMPLATE/bug_report.yml`
1. Add new version tag to `DMeta version` dropbox options
5. Create a PR from `release` to `dev`
1. Title: `Version x.x` (Example: `Version 0.1`)
2. Tag all related issues
3. Labels: `release`
Expand All @@ -23,17 +26,17 @@
6. Need review (**2** reviewers)
7. Squash and merge
8. Delete `release` branch
5. Merge `dev` branch into `main`
6. Merge `dev` branch into `main`
1. `git checkout main`
2. `git merge dev`
3. `git push origin main`
4. Wait for all CI pass
6. Create a new release
7. Create a new release
1. Target branch: `main`
2. Tag: `vx.x` (Example: `v0.1`)
3. Title: `Version x.x` (Example: `Version 0.1`)
4. Copy changelogs
5. Tag all related issues
7. Bump!!
8. Close this version issues
9. Close milestone
8. Bump!!
9. Close this version issues
10. Close milestone
2 changes: 1 addition & 1 deletion otherfiles/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "DMeta" %}
{% set version = "0.4" %}
{% set version = "0.5" %}

package:
name: {{ name|lower }}
Expand Down
2 changes: 1 addition & 1 deletion otherfiles/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys
import codecs
Failed = 0
DMETA_VERSION = "0.4"
DMETA_VERSION = "0.5"


SETUP_ITEMS = [
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ def read_description():
setup(
name='DMeta',
packages=['dmeta'],
version='0.4',
version='0.5',
description='Removing microsoft office files\' metadata',
long_description=read_description(),
long_description_content_type='text/markdown',
author='DMeta Development Team',
author_email='dmeta@openscilab.com',
url='https://github.com/openscilab/dmeta',
download_url='https://github.com/openscilab/dmeta/tarball/v0.4',
download_url='https://github.com/openscilab/dmeta/tarball/v0.5',
keywords="python3 python metadata remove",
project_urls={
'Source': 'https://github.com/openscilab/dmeta',
Expand Down
Loading