Skip to content

Conversation

@WinterArch
Copy link

@WinterArch WinterArch commented Jan 4, 2025

[+-] swift-tools-version
[+] Protected.swift
[+] Protected Wrappers for OpaquePointers
[+-] pointers stored property -> computed property
[+] Sendable extension marks
[+-] access Tests Build

Add thread safely protector(wrapper-layer) for OpaquePointer;
Add Sendable mark for Value Types.
Copy link
Owner

@ibrahimcetin ibrahimcetin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you for your contribution. I reviewed your code, but I don't have enough knowledge on strict concurrency. I will check out the migration guide and some resources to support Swift 6. But as of my current knowledge, I was thinking of using a custom global actor, but I am not sure.

Also, this lock system seems to not support Linux, but I also want to add Linux support in the future.

Lastly, I am not currently working on this project, but I want to come back to it near feature. If you want to contribute any other part of the project, we can discuss it here.

@WinterArch
Copy link
Author

WinterArch commented Jan 8, 2025

@ibrahimcetin this package ↓ may be helpful?
swift-mutex
edited -
I am sorry for responding so late and thank you very much for your patience in reviewing this. My trust in code often comes from testing. Impressively, the tests for this project are very detailed. In fact, my contribution to the project is in my spare time. If the documentation or the roadmap for the development of this project is further improved, it can definitely attract more developers.

@ibrahimcetin
Copy link
Owner

I have created a draft projects section. You can checkout from here. It is draft for now but my high priority is including all everyday git command to this project. Firstly, making sure all libgit2 101 samples are included then every day git functions. Also, I want to migrate to swift-testing and I want all new tests to be written with swift-testing. I will push first (small) patch for the migration.

These are my planning for near future. Any help is appreciated.

ibrahimcetin pushed a commit that referenced this pull request Aug 7, 2025
Fix Swift Package build which pulls libgit2 1.9.1 instead of libgit2 …
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.

2 participants