Skip to content

Created unified ci.yml with linting, automated releases, and Linux builds; Updated README.md#126

Merged
mak448a merged 27 commits intomak448a:mainfrom
Reuben-Percival:main
Apr 24, 2026
Merged

Created unified ci.yml with linting, automated releases, and Linux builds; Updated README.md#126
mak448a merged 27 commits intomak448a:mainfrom
Reuben-Percival:main

Conversation

@Reuben-Percival
Copy link
Copy Markdown
Contributor

@Reuben-Percival Reuben-Percival commented Mar 14, 2026

Closes #89

I followed CONTRIBUTING.md

  • Formatted Code
  • Linting
  • Builds and automated releases
  • Improved .gitignore
  • Unified ci.yml

- Consolidated Windows and macOS builds into a single matrix-based workflow
- Added Linux (PyInstaller) build support and [linux.spec](cci:7://file:///home/terra/Qtcord/helper_scripts/linux.spec:0:0-0:0)
- Integrated Ruff for automated linting and formatting checks
- Added automated GitHub Releases on tag pushes (v*)
- Removed requirement for external Discord tokens in the build process
- Cleaned up legacy workflow files
…errors

- Replaced separate build workflows with a single ci.yml
- Added Linux build support with linux.spec
- Added ruff.toml config (excludes auto-generated UI files)
- Fixed 108 lint/format issues across all source files
- Added build artifacts to .gitignore
- Automated GitHub Releases on version tags
@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

I also Adjusted the readme to be better for new people / non tech literal.

Comment thread src/ui/login_ui.py Outdated
Comment thread ruff.toml
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

"Unfortunately this is broken on the Flatpak builds. I’m not sure how to fix this yet"~
yeah ima work on it whenever i get time

@mak448a mak448a changed the title Unified CI/CD pipeline with linting, Linux builds, and automated releases Unified CI/CD pipeline with linting, Linux builds, and automated releases; readme improvements Mar 16, 2026
@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 16, 2026

I made a few changes and cut down the "bloat" of the README. Also, not everything needs to be centered or HTML, so I reverted that change on the source notice.

Comment thread ruff.toml
@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 16, 2026

By the way, generally I like to keep comments and code concise, descriptive, and readable. The ruff.toml said "exclude auto-generated files" twice, so I removed it. It also listed every file explicitly but none of the files in that directory should be formatted, so I removed that.

@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 16, 2026

I removed "Secure by design" since I wouldn't go as far as to make it a selling point just because it uses the system keyring.

Comment thread .gitignore Outdated
@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

Reuben-Percival commented Mar 17, 2026

I still cant find why it doesnt build on flatpak
thanks for actually fixing my pr instead of just auto closing like others

@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 17, 2026

thanks for actually fixing my pr instead of just auto closing like others

The other pr had AI description (+weird decisions to remove perfectly fine stuff) so I closed it

@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

thanks for actually fixing my pr instead of just auto closing like others

The other pr had AI description (+weird decisions to remove perfectly fine stuff) so I closed it

wasnt on about your repo but yeah those ai prs do just waste time

@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 17, 2026

I still cant find why it doesnt build on flatpak

It builds, but the keyring library doesn't have the portal built into it so the app never launches. See flathub/io.github.mak448a.QTCord#75 (comment)

@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

I still cant find why it doesnt build on flatpak

It builds, but the keyring library doesn't have the portal built into it so the app never launches. See flathub/io.github.mak448a.QTCord#75 (comment)

how would we resolve this

@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 18, 2026

I was thinking maybe somehow figure out how to implement it with https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Secret.html through PySide6.QtDBus? I have no idea but I think portals might be able to be called from dbus?
Anyways, not super sure how to approach it but am looking into it right now.

@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Mar 18, 2026

Idk about the readme redo, I like some aspects but I felt it was getting too long before the download button. So I removed the image and cut down on it a bit. Hopefully it still looks okay to you 😅

@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

Idk about the readme redo, I like some aspects but I felt it was getting too long before the download button. So I removed the image and cut down on it a bit. Hopefully it still looks okay to you 😅

Yep its okay i just had to take some time off because various irl factors but im back

@Reuben-Percival
Copy link
Copy Markdown
Contributor Author

I am back and willing to work on this pr again. What do you want me to modify/adjust

Comment thread helper_scripts/linux.spec
@mak448a mak448a mentioned this pull request Mar 24, 2026
1 task
@mak448a mak448a changed the title Unified CI/CD pipeline with linting, Linux builds, and automated releases; readme improvements Created unified ci.yml with linting, automated releases, and Linux builds; Updated README.md Apr 24, 2026
@mak448a mak448a added documentation Improvements or additions to documentation enhancement New feature or request code-cleanup Cleaning for the code labels Apr 24, 2026
@mak448a mak448a added this to the v0.0.24 milestone Apr 24, 2026
@mak448a mak448a merged commit 5324f86 into mak448a:main Apr 24, 2026
@mak448a
Copy link
Copy Markdown
Owner

mak448a commented Apr 24, 2026

Thank you for the pull request! I merged it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-cleanup Cleaning for the code documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workflow to build all and release

2 participants