-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace reorganization #998
Conversation
f09ef45
to
4f19de3
Compare
Codecov Report
@@ Coverage Diff @@
## main #998 +/- ##
==========================================
+ Coverage 30.00% 30.03% +0.02%
==========================================
Files 416 415 -1
Lines 26929 26918 -11
Branches 5244 5243 -1
==========================================
+ Hits 8080 8084 +4
+ Misses 16653 16638 -15
Partials 2196 2196
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
How about we put all crates under root
/crates
directory? -
"Do we still need agency_client? "
Unfortunately, along with mediated connection, yes. It's needed by NodeJS tests. In
aries-vcx
, mediated connection module however is not used by otheraries-vcx
modules, so it could be easily feature flagged, and opt-into fromlibvcx_core
only. -
"Remove did_resolver_registry?"
Not sure, probably question for @mirgee
-
I am wondering if
ci
can be squashed behind.github
- not sure if github allows that -
You are missing diddoc_legacy in the described repo structure
-
I imagine
messages_macros
wouldn't really be used by other crates other thanmessages
. How about mergingmessages
+messages_macros
? Just throwing the idea out there. -
libvcx_core
is curretly as much/as little legacy asnode
andvcx-napi-rs
components which are built on it. Perhaps they should reside together. I wouldn't mind to but these nodejs wrapper under legacy directory. While we care about them for now, we don't plan to in a long run, and we wouldn't want to encourage usage of it. Also the currentagents/node/*
would fall into the same category.- then having nodejs wrappers out of our way from what's in your proposal currently named
wrappers
, we could "rebrand" that a bit and rather call that "agents" - it could contain:- uniffi sample application
- mediator agent (once's it's chipped into this repo)
- aries-agent-rust (although not executable, it's a basis for AATH backchannel agent)
- then having nodejs wrappers out of our way from what's in your proposal currently named
Idk about this. I personally don't like it. It would make sense if there's a lot of other stuff not related to the Rust code, but there isn't that much really.
Fair enough.
To me it just seems like YAGNI.
It might, and it's actually a good idea.
Yaeh, it was meant to go under the
No can do. Procedural macros need to reside in their own crate.
Okay, I'll update the directory structure. |
I would also prefer putting all (or most) crates into one directory and agree with keeping |
Alright so since you both want some upper dir I added it. What's up with the The |
0ebd833
to
583986f
Compare
@mirgee If you're adamant on keeping the |
@bobozaur Why not put it under |
Okay, fair. |
583986f
to
751a146
Compare
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
751a146
to
b068a6d
Compare
As discussed in the community call, the |
I would like to propose some further changes to the org
But what this mainly does is clearly separates aries components and other components which are reusable and aries-agnostic. |
Moving this discussion to github issue |
This PR aims to address the ever growing number of crates we have in the workspace so that we make it easier for newcomers as well as us to navigate through the directory structure.
This top comment will be updated with the directory structure after it's debated enough and agreed upon. Combining existent crates is represented by
+
while creating a new directory where existent crates will be moved is represented by a nested bullet point list.Directory structure:
NOTE: The
ci
directory gets moved under.github
in #1001 .Questions:
did_resolver_registry
? It's unused, small and not really something I personally like due to being an unnecessary batteries included abstraction over something consumers should build from scratch.ANSWER: used in DID Exchange Protocol #928 .
agency_client
? Could we remove it or should it just be moved to thelegacy
directory?ANSWER:
agency_client
is still needed so we'll place it in thelegacy
directory.