Comments (3)
You are right - that's interesting.
The .gemspec file has this entry:
spec.homepage = "https://github.com/net-ssh/net-sftp"
Perhaps there needs to be some additional routine to check specifically whether the
URL shown on rubygems.org needs to be updated; I assume it has had to be stored
at one point in the past, as you indicate e. g. in 2021 or so. Perhaps some other older
gems also have that problem.
Aside from this, I think it would be pretty neat if we could have autogenerated documentation
at rubygems.org for gems too. I don't know if we have enough resources for that,
but I have had issues with external documentation before - often the gems I publish,
where the documentation is on, https://www.rubydoc.info/gems/, is often lagging behind,
or sometimes claiming that it does not exist, even though I pushed the gem just recently.
So there is some delay. Would be neat if there would be no delay and all could be contained
on rubygems.org directly, without having to depend on anything external (github, rubydoc
and so forth).
from rubygems.org.
Uff, this was though one to resolve, but I think I got it.
Before 2019, it was only possible to maintain those links (like docs) manually using WEB UI form, but that was removed at #1815.
net-sftp gem has this value still filled in.
irb(main):001:0> Rubygem.find_by(name: 'net-sftp').linkset
=>
#<Linkset:
id: 0,
rubygem_id: 0,
home: "https://github.com/net-ssh/net-sftp",
wiki: "",
docs: "http://net-ssh.github.com/net-sftp",
mail: "",
code: "https://github.com/net-ssh/net-sftp",
bugs: "https://github.com/net-ssh/net-sftp/issues",
To override those values, net-sftp gem should utilize gemspec metadata. Logic picking on one of the values (from old linkset or modern metadata) lives in links model.
If I understand it well, there is nothing to do on rubygems.org side to fix this. 🤔
from rubygems.org.
Ah, .homepage is for the homepage, not the documentation of course. All my own gems get the default documentation link e. g. via https://www.rubydoc.info/gems/NAME_OF_THE_GEM_GOES_IN_HERE. I guess a new routine should check whether this entry is still specified or not; and if not, delete it (unless it was specified e. g. in the .gemspec file).
from rubygems.org.
Related Issues (20)
- Event audit log for significant actions
- WebAuthn appears to be hanging. HOT 2
- Menu Javascript broken, logging out impossible HOT 2
- "All versions of #{gem} since #{date}" has paginated date
- In development, LetterOpener web `/letter_opener` is broken/unusable due to Content Security Policy HOT 1
- Add date of last release to search results page HOT 1
- Error importing gems for local development HOT 2
- Has the sorting on rubygems.org profiles been changed recently? HOT 3
- Alternative to @rubygems_status on Twitter HOT 4
- Changing dependencies didn't change it on the gem page HOT 2
- Remove or replace Twitter/X from email footer HOT 1
- Dashboard Atom feed link broken HOT 2
- Display last released version HOT 6
- Versions published more than 30 days ago cannot be deleted. Please contact RubyGems support to request deletion of this version if it represents a legal or security risk. HOT 1
- Status page header displaying broken help.rubygems.org link
- Improve statistics for downloads HOT 8
- Improve "Access Denied" message by distinguishing "no key" vs "unknown key"
- Allow users to mark gems as no longer being maintained.
- Webauthn CLI login could be much easier
- Refactor permissions to use Pundit for all controlled actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubygems.org.