Skip to content

Conversation

@juancarlospaco
Copy link
Collaborator

@juancarlospaco juancarlospaco commented Sep 9, 2021

  • Make foreignDeps public, so it can be used.
  • Improve imports to use std/ .
  • Updated changelog.

:)

foreignCmd(installCmd, sudo)

proc echoForeignDeps*() =
proc echoForeignDeps*() {.deprecated: "use `foreignDeps` instead".} =
Copy link
Member

Choose a reason for hiding this comment

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

So... instead I have to use the very same loop that echoForeignDeps previously offered me? Come on, if you want to export foreignDeps just do that instead of a crazy crusade in the name of "minimalism".

Copy link
Collaborator Author

@juancarlospaco juancarlospaco Sep 9, 2021

Choose a reason for hiding this comment

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

No, just echo foreignDeps. 🤷

Like what would be the flow for using the data?:

  • Call echoForeignDeps().
  • Read stdout to string.
  • Write a parser to parse back string to data.
  • Get back the same data it started with.

Not a very good API, with or without minimalisms.

@juancarlospaco juancarlospaco changed the title ignore test distros.foreignDeps made public Sep 9, 2021
@juancarlospaco juancarlospaco marked this pull request as ready for review September 9, 2021 17:09
@juancarlospaco juancarlospaco requested a review from Araq September 9, 2021 17:09
@Araq Araq merged commit 0ef8305 into nim-lang:devel Sep 10, 2021
@juancarlospaco juancarlospaco deleted the distrosfix branch September 10, 2021 13:03
PMunch pushed a commit to PMunch/Nim that referenced this pull request Mar 28, 2022
* Deprecate distros.echoForeignDeps

* Deprecate distros.echoForeignDeps

* nim-lang#18830 (comment)

* nim-lang#18830 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants