Skip to content
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

Initial support for conflicts #94

Closed
wants to merge 10 commits into from

Conversation

GZGavinZhao
Copy link
Contributor

  • dag: add neighbors_outgoing/incoming and scc
  • moss: initial support for conflicts

@GZGavinZhao GZGavinZhao added the type: feature A new functionality to implement. label Dec 4, 2023
@GZGavinZhao GZGavinZhao self-assigned this Dec 4, 2023
@GZGavinZhao GZGavinZhao force-pushed the conflicts branch 2 times, most recently from ad36a4f to 1c20048 Compare December 11, 2023 03:12
.iter()
.flat_map(|(id, meta)| meta.conflicts.iter().map(move |conflict| (id, conflict)))
.collect::<Vec<_>>();
println!("conflicts: {conflicts:?}");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Reminder to remove this println

crates/moss/src/package/meta.rs Outdated Show resolved Hide resolved
crates/moss/src/package/meta.rs Outdated Show resolved Hide resolved
@GZGavinZhao GZGavinZhao force-pushed the conflicts branch 3 times, most recently from 8213806 to 66a72e5 Compare December 13, 2023 17:25
@GZGavinZhao
Copy link
Contributor Author

I found a problem with this algorithm, gonna fix it later this week.

Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
Signed-off-by: Gavin Zhao <git@gzgz.dev>
@GZGavinZhao
Copy link
Contributor Author

@ikeycode @ermo @tarkah I want to at least make the conflicts field recognized/stored in moss before it's too late. We can work on how to best detect/report the conflicts in a separate PR. I'll try to rebase and split up this PR in the next few days.

@GZGavinZhao
Copy link
Contributor Author

See #248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new functionality to implement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants