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
Add web-page-visibility #203
Conversation
Right now the Registry is in a transitional state where we're trying to keep compatibility with Bower as much as we can. Is it possible to install this package with Bower from the SourceHut URL? |
I'm not entire sure what this means? I know I can't register. $ bower register purescript-web-page-visibility https://git.sr.ht/~toastal/purescript-web-page-visibility web-page-visibility
bower purescript-web-page-visibility#* resolve https://git.sr.ht/~toastal/purescript-web-page-visibility#*
bower purescript-web-page-visibility#* download https://git.sr.ht/~toastal/purescript-web-page-visibility
bower purescript-web-page-visibility#* resolved https://git.sr.ht/~toastal/purescript-web-page-visibility
? Registering a package will make it installable via the registry (https://registry.bower.io), continue? Yes
bower purescript-web-page-visibility register https://git.sr.ht/~toastal/purescript-web-page-visibility
bower EUNKNOWN Unknown error: 500 - Registering bower package names is not supported anymore. You can install any bower package on github with command like "bower install jquery/jquery-dist --save" $ bower install https://git.sr.ht/~toastal/purescript-web-page-visibility
bower cached https://git.sr.ht/~toastal/purescript-web-page-visibility
bower validate https://git.sr.ht/~toastal/purescript-web-page-visibility#*
bower new version for https://git.sr.ht/~toastal/purescript-web-page-visibility#*
bower resolve https://git.sr.ht/~toastal/purescript-web-page-visibility#*
bower download https://git.sr.ht/~toastal/purescript-web-page-visibility
bower resolved https://git.sr.ht/~toastal/purescript-web-page-visibility
bower install purescript-web-page-visibility Downloaded, but left a HTML-rendered $ bower install https://git.sr.ht/~toastal/purescript-web-page-visibility#v1.0.1
bower ENORESTARGET URL sources can't resolve targets Tag failed. To be truthful, I'm by no means a |
Yeah, I meant running |
Per Bower's docs, does updating the URL to the below work?
|
I could give this a look, but it's not very high on my priorities this second. When I did this, I was using PureScript every day for work and now that I'm not, PureScript is back to hobby status for now. |
375d347
to
c178bdf
Compare
c178bdf
to
5612fe9
Compare
Tried this. Registering is no longer supported. The installing however did work. |
I think I noted it elsewhere, but `*.git` is wrong and a 400-level error.
--
toastal ไข่ดาว | https://toast.al
PGP: 7944 74b7 d236 dab9 c9ef e7f9 5cce 6f14 66d4 7c9e
|
purescript-web-page-visibility
is a wrapper for the W3C Page Visibility spec.v2.0.0
tag build passed (Nix + Flakes + Cachix, merely builds as there is not much to test).I have a future plans with this library, but one thing I really wanted to test is the Registry handling non-GitHub git repository—this will be the first repository. Sourcehut’s read-only Git cloning URI is
https://git.sr.ht/ownerCanonicalName/repositoryName
without.git
(in fact, putting.git
will return a403
). As Git is distributed, I will be excited to see what will happen in the future as others see examples of packages on multiple platforms.Pursuit doc upload though will be blocked by Pursuit #422 and whatever happens there. This may be blocked by #204 which I opened for Sourcehut-specific support or #15 which allows arbitrary git repo support.