Archived
11
377
Fork
You've already forked codeberg-cli
35

Configurable API base #84

Closed
opened 2023年04月07日 14:54:46 +02:00 by jolheiser · 3 comments

If the API base was configurable, this project would theoretically work with most Gitea/Forgejo instances, unless I'm missing a specific workflow unique to Codeberg.

If the API base was configurable, this project would theoretically work with most Gitea/Forgejo instances, unless I'm missing a specific workflow unique to Codeberg.
Contributor
Copy link

That's a neat idea! I have thought about this for some time aswell already after discovering that codeberg is based on Gitea/Forgejo.

I just have the fear that one day codeberg (or some other instance that I could potentially support) will fork the Gitea/Forgejo project and deviate from their API. Then I would need to maintain multiple APIs or some people would probably get upset. Because of this I decided to tailor the project just for the main codeberg instance.

If you look for similar CLI Apps that support different API bases you can have a look at tea.

If you are really unhappy with all of the things I just said then I still might be convincable for the following: We could, pretty easily, integrate configurable base APIs but then I would add a disclaimer that this is experimental and not maintained for unforeseeable amounts of time.

That's a neat idea! I have thought about this for some time aswell already after discovering that codeberg is based on Gitea/Forgejo. I just have the fear that one day codeberg (or some other instance that I could potentially support) will fork the Gitea/Forgejo project and deviate from their API. Then I would need to maintain multiple APIs or some people would probably get upset. Because of this I decided to tailor the project just for the main codeberg instance. If you look for similar CLI Apps that support different API bases you can have a look at [tea](https://gitea.com/gitea/tea). If you are really unhappy with all of the things I just said then I still might be convincable for the following: We could, pretty easily, integrate configurable base APIs but then I would add a disclaimer that this is experimental and not maintained for unforeseeable amounts of time.
Contributor
Copy link

Hey, just checking back here since I don't know how to interpret your reaction. Do you want to see the changes implemented or can we close the issue?

Hey, just checking back here since I don't know how to interpret your reaction. Do you want to see the changes implemented or can we close the issue?

Ah, my apologies! We can close it, your reasoning makes perfect sense. 🙂

Ah, my apologies! We can close it, your reasoning makes perfect sense. 🙂
Commenting is not possible because the repository is archived.
No Branch/Tag specified
main
v0.5.5
v0.5.4
v0.5.3
v0.5.2
v0.5.1
v0.5.0
v0.4.11
v0.4.10
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.1
v0.4.2
v0.4.0
v0.3.5
v0.3.4
v0.3.2
v0.3.1
v0.3.0
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aviac/codeberg-cli#84
Reference in a new issue
Aviac/codeberg-cli
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?