Renovate Bot
1be7449542
All checks were successful
continuous-integration/drone/push Build is passing
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged. --- ### Detected Package Files * `.tool-versions` (asdf) * `.drone.yml` (droneci) * `mix.exs` (mix) ### Configuration Summary Based on the default config's presets, Renovate will: - Start dependency updates only once this onboarding PR is merged - Enable Renovate Dependency Dashboard creation. - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use. - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories. - Group known monorepo packages together. - Use curated list of recommended non-monorepo package groupings. - Apply crowd-sourced package replacement rules. - Apply crowd-sourced workarounds for known problems with packages. - Use semantic prefixes for commit messages and PR titles. - Use `chore` as semantic commit type for commit messages and PR titles. - Removes rate limit for PR creation per hour. - Remove limit for open PRs at any time. - Automerge all upgrades (including `major`) if they pass tests. - Assign PRs to `james`. - Rebase existing PRs any time the base branch has been updated. - Raise PR when vulnerability alerts are detected. - Disable Renovate Dependency Dashboard creation. 🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to `renovate.json` in this branch. Renovate will update the Pull Request description the next time it runs. --- ### What to Expect With your current configuration, Renovate will create 1 Pull Request: <details> <summary>chore(deps): update dependency spark to v2.2.15</summary> - Schedule: ["at any time"] - Branch name: `renovate/spark-2.x-lockfile` - Merge into: `main` - Upgrade spark to `2.2.15` </details> --- > > ⚠️ **Warning** > > Please correct - or verify that you can safely ignore - these dependency lookup failures before you merge this PR. > > - `Failed to look up hex package bandit` > - `Failed to look up hex package plug` > - `Failed to look up hex package igniter` > - `Failed to look up hex package reactor` > - `Failed to look up hex package req` > > Files affected: `mix.exs` --- ❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section. If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-config-hash:758a0db051676a629cb8daada3244b6287c728a47d095002c4ae62062eae6bf3--> Reviewed-on: #1 Co-authored-by: Renovate Bot <bot@harton.nz> Co-committed-by: Renovate Bot <bot@harton.nz> |
||
---|---|---|
config | ||
documentation/dsls | ||
lib/reactor | ||
test | ||
.drone.yml | ||
.formatter.exs | ||
.gitignore | ||
.tool-versions | ||
CHANGELOG.md | ||
LICENSE.md | ||
mix.exs | ||
mix.lock | ||
README.md | ||
renovate.json |
Reactor.Req
A Reactor extension that provides steps for working with HTTP requests via Req.
Example
The following example uses Reactor to retrieve the repository description from the Forgejo API:
defmodule GetForgejoRepoDescription do
use Reactor, extensions: [Reactor.Req]
input :hostname
input :owner
input :repo
step :repo_url do
argument :hostname, input(:hostname)
argument :owner, input(:owner)
argument :repo, input(:repo)
run fn args ->
URI.new("https://#{args.hostname}/api/v1/repos/#{args.owner}/#{args.repo}")
end
end
req_get :get_repo do
url result(:repo_url)
headers value([accept: "application/json"])
http_errors value(:raise)
end
step :get_description do
argument :description, result(:get_repo, [:body, "description"])
run fn args -> {:ok, args.description} end
end
end
Reactor.run!(GetForgejoRepoDescription, %{
hostname: "harton.dev",
owner: "james",
repo: "reactor_req"
})
# => "A Reactor DSL extension for making HTTP requests with Req."
Installation
If available in Hex, the package can be installed
by adding reactor_req
to your list of dependencies in mix.exs
:
def deps do
[
{:reactor_req, "~> 0.1.0"}
]
end
Documentation for the latest release is available on HexDocs.
Github Mirror
This repository is mirrored on Github from it's primary location on my Forgejo instance. Feel free to raise issues and open PRs on Github.
License
This software is licensed under the terms of the
HL3-FULL, see the LICENSE.md
file included with
this package for the terms.
This license actively proscribes this software being used by and for some industries, countries and activities. If your usage of this software doesn't comply with the terms of this license, then contact me with the details of your use-case to organise the purchase of a license - the cost of which may include a donation to a suitable charity or NGO.