Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Add other git servers to AdventOfCode cog #178

Merged
merged 12 commits into from
Dec 1, 2022

Conversation

atticus-sullivan
Copy link
Contributor

Description
With this changes other git remove servers than github can be added to AdventOfCode.

Some of the functions are present only for the purpose of packing the get and the parse functionality into one single function isn't desired for some coding style reason (even though I wouldn't see one). These functions are marked as TODO remove.

Additional Notes
Please do not merge directly, because honestly since I don't know how to set this whole thing up with the database and so one, this code is untested. So you'll have to test this your own.

@Defelo Defelo added enhancement New feature or request priority: low labels Jan 3, 2022
@ghost ghost closed this Feb 27, 2022
@ghost
Copy link

ghost commented Feb 28, 2022

Closed the wrong pr, sry xD

@ghost ghost reopened this Feb 28, 2022
@atticus-sullivan
Copy link
Contributor Author

@Defelo does this PR goes into the right direction? (this PR is getting more interesting as December approaches again ^^).

What do you think about the code-complexity issue of codeclimate?

@codeclimate
Copy link

codeclimate bot commented Nov 30, 2022

Code Climate has analyzed commit db42a72 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@Defelo Defelo marked this pull request as ready for review November 30, 2022 14:39
@Defelo Defelo requested a review from a team as a code owner November 30, 2022 14:39
@Defelo Defelo changed the title [do not merge] Add other git servers to AdventOfCode cog Add other git servers to AdventOfCode cog Dec 1, 2022
@Defelo Defelo changed the base branch from develop to v3.5 December 1, 2022 09:14
@Defelo Defelo requested review from a team and Defelo as code owners December 1, 2022 09:14
atticus-sullivan and others added 10 commits December 1, 2022 10:28
Function checks url for all git server patterns. This way it is
extendible and one doesn't have to check the type of the repo before
calling the parsing function.
Function checks url for all git server patterns. This way it is
extendible and one doesn't have to check the type of the repo before
calling the function.
Rename the functions subject to be kept with the nice name.
@Defelo Defelo merged commit 6116245 into PyDrocsid:v3.5 Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request priority: low
Projects
Status: Testing
Development

Successfully merging this pull request may close these issues.

2 participants