Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Validate forge command outputs in docs #2687
base: master
Are you sure you want to change the base?
Validate forge command outputs in docs #2687
Changes from 85 commits
3c4a076
f8b0058
4e45711
23493ab
62bb35a
3ef847f
304e423
f10ac8e
be9c9e5
a17d919
432e366
2cc325c
f5f3e41
beb0855
18ffce2
1d7f284
48a3fcd
0438352
ccfac3f
dca617d
ed6daa0
3ae3107
2f65010
efc2e1d
2823523
bcbb861
1b968be
041f604
7bbcd99
bdcd467
b6db6a5
a4535cd
dcd4e80
9e34797
8ddc850
8e6678c
6da2d58
92fff9f
d445531
46aa9d4
1dd0062
80e5b79
54f4247
fab960d
f119e3b
853c8ed
f6a029c
2e0f0f1
41cb86a
6d8a825
5c84ef1
8292a54
fa40a6b
d846b42
cbda065
9fe0a3c
906777b
446cdfd
2a61d99
bcf5f40
aa4be23
8449f5e
ece5a07
a960649
826be45
0574214
67346ea
127842a
f01065d
6caf67b
eb95205
1c2a863
95d9bb9
d8481b0
09bac46
ae39133
7703ce6
a106627
4407733
983e0a6
78e3c7d
97df99f
dc4386c
4d245af
0eadab4
c5e3b19
4df85ac
216c10b
a2f01d5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Isn't this logic a bit too complicated just to get a mapping between a directory name and it's related crates?
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.
Don't think we should be hardcoding some docs specific behaviors here. This could be a separate function that shares the logic with this one.
+ I think you wouldn't have to change the interface of current
setup_package_with_file_patterns
as well.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.
I see that you created one below, but I'd try to change this so the interface of tests we already had remains unchanged.
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.
note: Currently we use
hello_workpaces
package (fromcrates/forge/tests/data
) in one example in docs. In future we can simplify this logic and removeis_package_from_docs_listings
, once we use only packages from docs listings. Ref: #2698