-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Support 0xacab.org 0xacab ("hexacab") is a Gitlab instance hosted by riseup.net Both spellings are implemented because the YAML parser will interpret `0x` as an hexadecimal number if not quoted. * feat: Add Sutty * fix: Remove "hexacab" source Co-authored-by: f <[email protected]>
- Loading branch information
1 parent
5b5e73e
commit 8cea0e7
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
defmodule Coophub.Backends.HexAcab do | ||
use Coophub.Backends.Gitlab | ||
|
||
@spec name() :: String.t() | ||
def name(), do: "0xacab.org" | ||
|
||
def headers() do | ||
[] | ||
end | ||
|
||
def full_url(path), do: "https://0xacab.org/api/v4/#{path}" | ||
end |