pinpox / base16-universal-manager

A universal manager to set base16 themes for any supported application
https://github.com/chriskempson/base16
MIT License
89 stars 20 forks source link

Support templates hosted on SourceHut and GitLab (e.g. wofi) #58

Closed paul-ri closed 2 years ago

paul-ri commented 2 years ago

As described in the commit:

The template source from base16-templates-source contains a link to a SourceHut repository (e.g. wofi) that doesn't exist on GitHub. Only GitHub is supported at the moment by base16-universal-manager.

This is a commit with sane defaults that should work for now. But later we could add support for user settings to set the raw base url as well as the main repository branch (which isn't 'master' by default in most new repos).

Notes

git clone https://github.com/pinpox/base16-universal-manager.wiki
git pull https://github.com/paul-ri/base16-universal-manager.wiki.git
git push

Testing done

codecov[bot] commented 2 years ago

Codecov Report

Merging #58 (7ca067c) into master (3d6b1d7) will increase coverage by 2.57%. The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   15.78%   18.36%   +2.57%     
==========================================
  Files           5        5              
  Lines         437      452      +15     
==========================================
+ Hits           69       83      +14     
- Misses        349      350       +1     
  Partials       19       19              
Impacted Files Coverage Δ
template.go 22.22% <82.35%> (+22.22%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3d6b1d7...7ca067c. Read the comment docs.

paul-ri commented 2 years ago

PR will fix #43