-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Feat: implement wakapi compatibility #256
Conversation
@@ -29,6 +29,7 @@ | |||
listReg = f"{START_COMMENT}[\\s\\S]+{END_COMMENT}" | |||
|
|||
waka_key = os.getenv('INPUT_WAKATIME_API_KEY') | |||
waka_url = os.getenv('INPUT_WAKATIME_URL', "https://wakatime.com") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as you can see, for now the environmental variables defaults are defined in action.yml
. I understand your will to add defaults here (I hope to do it one day as well), but for now I guess it would be much cooler to put it into action.yml
.
@@ -239,6 +239,8 @@ CSS 2 repos █░░░░░░░░░░░░░░░░ | |||
|
|||
`IGNORED_REPOS` flag can be set to `"waka-readme-stats, my-first-repo"` (just an example) to ignore some repos you don’t want to be counted | |||
|
|||
`WAKATIME_API_URL` flag can be set if you are hosting your own wakatime compliant backend like [wakapi](https://github.com/muety/wakapi). You only have to supply your base url like so `https://wakapi.dev` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should shouw that this is an example link, changing it to something like https://your-own-wakapi.dev
? Don't you think so?
@@ -98,7 +99,6 @@ | |||
get_profile_traffic = Template("""/repos/$owner/$repo/traffic/popular/referrers""") | |||
truthy = ['true', '1', 't', 'y', 'yes'] | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this change is vital. Also it breaks pep.
Closing the PR as it appears to be stale |
fixes #220