wpilibsuite / wpilibsuite/native-utils

Duplicate vendordep uuids silently allowed

Open
#241 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
5
Forks
30
Avg merge
11h 32m
Merged PRs (30d)
4

Description

Right now, if there are multiple vendordeps with the same UUID, the first one found is used and others are silently ignored. This should throw an error, so that users can delete the wrong one.

https://github.com/wpilibsuite/native-utils/blob/dd5e4caf1e84701db60df21ff3c6b4c2a1d0688b/src/main/java/edu/wpi/first/nativeutils/vendordeps/WPIVendorDepsExtension.java#L191-L194

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/main/java/edu/wpi/first/nativeutils/vendordeps/WPIVendorDepsExtension.java around lines 191-194 and trace how vendordep UUIDs are selected. Ensure duplicate UUIDs produce an error instead of silently using the first entry; done when users are clearly told about the duplicate and the existing behavior is covered by the project's relevant checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.