Skip to content

use javaproperties library to parse - #77

Merged
mingness merged 1 commit into
processing:mainfrom
mingness:treat-java-properties
May 16, 2025
Merged

mingness merged 1 commit into
processing:mainfrom
mingness:treat-java-properties

Conversation

@mingness

Copy link
Copy Markdown
Collaborator

This PR addresses #76 by using a library specifically designed to treat java property files in python.
This means all escaped characters will be dealt with properly.

This was tested with the VJ Motion library, which does have an escaped colon in the value of url.

the output for the script is below, showing no escaped colons in the values.

properties dict: {'type': 'library', 'source': 'https://github.com/vincentsijben/vjmotion-processing/releases/latest/download/VJMotion.txt', 'name': 'VJ Motion', 'authors': 'Vincent Sijben', 'url': 'https://vincentsijben.github.io/vjmotion-processing/', 'categories': 'Sound,Utilities,Math', 'sentence': 'A collection of helper functions to create live, audio-reactive visuals with BPM-synced animation, Arduino input and frequency analyzing.', 'paragraph': '', 'version': 8, 'prettyVersion': '0.0.8', 'minRevision': 0, 'maxRevision': 0}
T

@netlify

netlify Bot commented May 16, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for processing-contributions ready!

Name Link
🔨 Latest commit 968db63
🔍 Latest deploy log https://app.netlify.com/projects/processing-contributions/deploys/682781c664bad4000803ed14
😎 Deploy Preview https://deploy-preview-77--processing-contributions.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mingness mingness linked an issue May 16, 2025 that may be closed by this pull request
@mingness
mingness requested review from SableRaf and Stefterv May 16, 2025 18:20
@mingness

Copy link
Copy Markdown
Collaborator Author

apologies, I'm on the east coast, so this will come to you rather late in your day. Of course, please ignore till you have time. This is mainly to notify you of the work. I will likely merge later today.

@mingness
mingness merged commit 513c92c into processing:main May 16, 2025
@mingness
mingness deleted the treat-java-properties branch May 16, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Escaped : in .properties causes invalid URLs in generated .yaml

1 participant