Skip to content

Conversation

matthewnitschke-wk
Copy link
Contributor

@matthewnitschke-wk matthewnitschke-wk commented Apr 15, 2025

There is a desire to have some insight into the resolved package versions within a pubspec.yaml file. This information can be used to determine the actually used package version across an org, as well as go-to navigation/find-references directly from a pubspec.yaml file

Spec is as follows:

# scip-dart pub foo_pkg 1.0.0 `pubspec.yaml`/
 name: foo_pkg
 version: 1.0.0
 
 dependencies:
   some_pkg: ^1.0.5
#  ^^^^^^^^ scip-dart pub some_pkg 1.5.6 `pubspec.yaml`/
 
 dev_dependencies:
   some_other_pkg:
#  ^^^^^^^^^^^^^^ scip-dart pub some_other_pkg 7.6.2 `pubspec.yaml`/
     path: ../foobar
 
 dependency_overrides:
   some_pkg_2:
#  ^^^^^^^^^^ scip-dart pub some_pkg_2 7.6.2 `pubspec.yaml`/
     git:
       url: git@github.com:Workiva/some_pkg_2.git
 	   ref: master

@matthewnitschke-wk matthewnitschke-wk changed the title implemented spike of pubspec indexing Pubspec Indexing Apr 15, 2025
@matthewnitschke-wk matthewnitschke-wk marked this pull request as ready for review April 15, 2025 16:56
@btr-rmconsole-7 btr-rmconsole-7 bot changed the title Pubspec Indexing FEDX-2972 Pubspec Indexing Apr 15, 2025
@bender-wk bender-wk changed the title FEDX-2972 Pubspec Indexing FEDX-2972: Pubspec Indexing Apr 15, 2025
@matthewnitschke-wk
Copy link
Contributor Author

QA +1

  • Functionality is disabled by default, dark rollout has low concern
  • snapshot tests validate that pubspecs are correctly indexed

@matthewnitschke-wk
Copy link
Contributor Author

🚀 @Workiva/release-management-p 🚢

Copy link

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

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

+1 from RM

@btr-rmconsole-3 btr-rmconsole-3 bot merged commit 1c8b0e9 into master Apr 16, 2025
12 checks passed
@btr-rmconsole-3 btr-rmconsole-3 bot deleted the index_pubspec branch April 16, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants