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

fix(deps): update module github.com/vladimirvivien/gexe to v0.3.0 #58

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 9, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/vladimirvivien/gexe v0.2.0 -> v0.3.0 age adoption passing confidence

Release Notes

vladimirvivien/gexe (github.com/vladimirvivien/gexe)

v0.3.0

Compare Source

What's Changed

Improvement of session variables

Now all types (existing and new ones) allows an injection of value of type vars.Variables to allow tracking and use of variables during a gexe session. The following shows an example of process being launched with variables:

variables := vars.New().SetVar("proc", "echo")
exec.RunProcWithVars(`$proc "Hello World!"`, variables)

In the majority of cases, you will start the API chain from the gexe package which has a default instance of vars.Variables ready to use as shown below:

gexe.SetVar("proc", "echo")
gexe.Run(`$proc "Hello World!")
Extending the fs package

The fs package has been extended to introduce types and methods to work with OS directory paths. In addition to working with files, the new fs.Path allows the followings:

  • Query path information
  • Creation of directory at a specified path point
  • Removal of resources at specified path
Improvements to package http

In this release, package http has been updated to use an API similar to that of fs (for file reading/writing). Using the new API makes it easy to retrieve resources from an HTTP server and output it in different types including string, bytes, io.Reader, etc. The same changes has been done to write data to a remote web server.

Example:

gexe.FileWrite("/tmp/eapv2.txt").String(gexe.GetUrl(`https://remote/file`).String())
PR list

Full Changelog: vladimirvivien/gexe@v0.2.0...v0.3.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-vladimirvivien-gexe-0.x branch from 4860ca4 to dab6df7 Compare July 14, 2024 08:31
@renovate renovate bot force-pushed the renovate/github.com-vladimirvivien-gexe-0.x branch from dab6df7 to 2001d34 Compare August 16, 2024 12:05
@maximiliantech maximiliantech merged commit 26cdcd6 into main Aug 16, 2024
7 checks passed
@maximiliantech maximiliantech deleted the renovate/github.com-vladimirvivien-gexe-0.x branch August 16, 2024 12:12
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.

1 participant