René's URL Explorer Experiment


Title: Analyze Scripts not in a Gem by rameshvarun · Pull Request #4 · sourcegraph/srclib-ruby · GitHub

Open Graph Title: Analyze Scripts not in a Gem by rameshvarun · Pull Request #4 · sourcegraph/srclib-ruby

X Title: Analyze Scripts not in a Gem by rameshvarun · Pull Request #4 · sourcegraph/srclib-ruby

Description: Contribute to sourcegraph/srclib-ruby development by creating an account on GitHub.

Open Graph Description: Currently we only analyze scripts that are part of gems. This PR adds code to the scanner that puts all loose scripts in their own source unit.

X Description: Currently we only analyze scripts that are part of gems. This PR adds code to the scanner that puts all loose scripts in their own source unit.

Opengraph URL: https://github.com/sourcegraph/srclib-ruby/pull/4

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:47fe4477-260e-2f83-170b-5835cc49e0b9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0A4:2F87BF:29F63:376DF:6A51CC03
html-safe-nonce0525509bfee4f71b5ecc29b20d5a972a2ddd962ad6e79cdd3ef4ddfe2dc9aa6e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEE0OjJGODdCRjoyOUY2MzozNzZERjo2QTUxQ0MwMyIsInZpc2l0b3JfaWQiOiI3NTI3NzM1MzM1NDc3OTU1NTg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd691bef583aea2a4c759e8df6047345a62ae438c39223ba4c0a57aa287132950
hovercard-subject-tagpull_request:20473078
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sourcegraph/srclib-ruby/4/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/19ddb059bc602e3c7811396df3954177e3dd280b35297ee8737cbab8ed8d655d/sourcegraph/srclib-ruby/pull/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19ddb059bc602e3c7811396df3954177e3dd280b35297ee8737cbab8ed8d655d/sourcegraph/srclib-ruby/pull/4
og:image:altCurrently we only analyze scripts that are part of gems. This PR adds code to the scanner that puts all loose scripts in their own source unit.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerameshvarun
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/sourcegraph/srclib-ruby git https://github.com/sourcegraph/srclib-ruby.git
octolytics-dimension-user_id3979584
octolytics-dimension-user_loginsourcegraph
octolytics-dimension-repository_id22005125
octolytics-dimension-repository_nwosourcegraph/srclib-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22005125
octolytics-dimension-repository_network_root_nwosourcegraph/srclib-ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcegraph/srclib-ruby/pull/4#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrclib-ruby%2Fpull%2F4
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrclib-ruby%2Fpull%2F4
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sourcegraph%2Fsrclib-ruby
Reloadhttps://github.com/sourcegraph/srclib-ruby/pull/4
Reloadhttps://github.com/sourcegraph/srclib-ruby/pull/4
Reloadhttps://github.com/sourcegraph/srclib-ruby/pull/4
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
sourcegraph https://github.com/sourcegraph
srclib-rubyhttps://github.com/sourcegraph/srclib-ruby
Notifications https://github.com/login?return_to=%2Fsourcegraph%2Fsrclib-ruby
Fork 8 https://github.com/login?return_to=%2Fsourcegraph%2Fsrclib-ruby
Star 9 https://github.com/login?return_to=%2Fsourcegraph%2Fsrclib-ruby
Code https://github.com/sourcegraph/srclib-ruby
Issues 5 https://github.com/sourcegraph/srclib-ruby/issues
Pull requests 1 https://github.com/sourcegraph/srclib-ruby/pulls
Actions https://github.com/sourcegraph/srclib-ruby/actions
Projects https://github.com/sourcegraph/srclib-ruby/projects
Security and quality 0 https://github.com/sourcegraph/srclib-ruby/security
Insights https://github.com/sourcegraph/srclib-ruby/pulse
Code https://github.com/sourcegraph/srclib-ruby
Issues https://github.com/sourcegraph/srclib-ruby/issues
Pull requests https://github.com/sourcegraph/srclib-ruby/pulls
Actions https://github.com/sourcegraph/srclib-ruby/actions
Projects https://github.com/sourcegraph/srclib-ruby/projects
Security and quality https://github.com/sourcegraph/srclib-ruby/security
Insights https://github.com/sourcegraph/srclib-ruby/pulse
rameshvarunhttps://github.com/rameshvarun
masterhttps://github.com/sourcegraph/srclib-ruby/tree/master
nongem-scriptshttps://github.com/sourcegraph/srclib-ruby/tree/nongem-scripts
Conversationhttps://github.com/sourcegraph/srclib-ruby/pull/4
Commits12 (12)https://github.com/sourcegraph/srclib-ruby/pull/4/commits
Checkshttps://github.com/sourcegraph/srclib-ruby/pull/4/checks
Files changedhttps://github.com/sourcegraph/srclib-ruby/pull/4/files
Analyze Scripts not in a Gemhttps://github.com/sourcegraph/srclib-ruby/pull/4#top
rameshvarunhttps://github.com/rameshvarun
masterhttps://github.com/sourcegraph/srclib-ruby/tree/master
nongem-scriptshttps://github.com/sourcegraph/srclib-ruby/tree/nongem-scripts
https://github.com/rameshvarun
rameshvarunhttps://github.com/rameshvarun
Aug 28, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#issue-41456016
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
rameshvarunhttps://github.com/rameshvarun
August 21, 2014 14:32https://github.com/sourcegraph/srclib-ruby/pull/4#commits-pushed-d3a41f1
https://github.com/rameshvarun
Now locates scripts, performing language analysis on them.https://github.com/sourcegraph/srclib-ruby/pull/4/commits/d3a41f173ef1e430967be8c66590c03c5dd619ed
d3a41f1https://github.com/sourcegraph/srclib-ruby/pull/4/commits/d3a41f173ef1e430967be8c66590c03c5dd619ed
https://github.com/rameshvarun
Now only finds scripts that are not already accounted for by gems.https://github.com/sourcegraph/srclib-ruby/pull/4/commits/5ccab7ec9d378ce0d68c69051ce2ab72903dfe70
5ccab7ehttps://github.com/sourcegraph/srclib-ruby/pull/4/commits/5ccab7ec9d378ce0d68c69051ce2ab72903dfe70
https://github.com/rameshvarun
Now gets dependencies.https://github.com/sourcegraph/srclib-ruby/pull/4/commits/e6897086284b8f479a3479fd00d8063dc544ed5d
e689708https://github.com/sourcegraph/srclib-ruby/pull/4/commits/e6897086284b8f479a3479fd00d8063dc544ed5d
https://github.com/rameshvarun
Instead of making each script it's own source unit, all loose scripts…https://github.com/sourcegraph/srclib-ruby/pull/4/commits/da059c827e7b475366587482312cf534fcf117de
da059c8https://github.com/sourcegraph/srclib-ruby/pull/4/commits/da059c827e7b475366587482312cf534fcf117de
https://github.com/rameshvarun
Added changes that mirror the discussion on srclib-pythonhttps://github.com/sourcegraph/srclib-ruby/pull/4/commits/0517d084d3387607c4064b7ac43a6eab2817008c
0517d08https://github.com/sourcegraph/srclib-ruby/pull/4/commits/0517d084d3387607c4064b7ac43a6eab2817008c
https://github.com/rameshvarun
Merge branch 'master' into nongem-scriptshttps://github.com/sourcegraph/srclib-ruby/pull/4/commits/2db3f2eb815b61ce1497dac6397bf4cfd8ca6bfc
2db3f2ehttps://github.com/sourcegraph/srclib-ruby/pull/4/commits/2db3f2eb815b61ce1497dac6397bf4cfd8ca6bfc
https://github.com/rameshvarun
Updated test output to reflect new rubyprogram scanner.https://github.com/sourcegraph/srclib-ruby/pull/4/commits/007f9a9e158b2860b9e381ee9db76944f25df2d3
007f9a9https://github.com/sourcegraph/srclib-ruby/pull/4/commits/007f9a9e158b2860b9e381ee9db76944f25df2d3
https://github.com/rameshvarun
Added fix that ensures testing consistency.https://github.com/sourcegraph/srclib-ruby/pull/4/commits/43b48692645525bc3fb523b1aa43ccd6afcdd1da
43b4869https://github.com/sourcegraph/srclib-ruby/pull/4/commits/43b48692645525bc3fb523b1aa43ccd6afcdd1da
https://github.com/sqs
sqshttps://github.com/sqs
Aug 29, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#issuecomment-53922602
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
sqshttps://github.com/sqs
Aug 29, 2014 https://github.com/sourcegraph/srclib-ruby/pull/4#discussion-diff-16917588
View reviewed changes https://github.com/sourcegraph/srclib-ruby/pull/4/files/43b48692645525bc3fb523b1aa43ccd6afcdd1da#diff-96f4b756dc69cd533d7a1e2eacf285258f9acff96b458c257f8fceae4bdd4c9c
lib/srclib-ruby/scan.rbhttps://github.com/sourcegraph/srclib-ruby/pull/4/files#diff-96f4b756dc69cd533d7a1e2eacf285258f9acff96b458c257f8fceae4bdd4c9c
sqshttps://github.com/sqs
Aug 29, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#discussion_r16917588
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
rameshvarunhttps://github.com/rameshvarun
Aug 29, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#discussion_r16919777
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
sqshttps://github.com/sqs
Aug 29, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#discussion_r16920342
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
https://github.com/sqs
sqshttps://github.com/sqs
Aug 29, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#issuecomment-53922942
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
rameshvarunhttps://github.com/rameshvarun
August 29, 2014 17:11https://github.com/sourcegraph/srclib-ruby/pull/4#commits-pushed-c45d885
https://github.com/rameshvarun
Updated submodule to lastest version.https://github.com/sourcegraph/srclib-ruby/pull/4/commits/c45d88533ca05317f4fdb920b4f6fc34ecd3fd64
c45d885https://github.com/sourcegraph/srclib-ruby/pull/4/commits/c45d88533ca05317f4fdb920b4f6fc34ecd3fd64
https://github.com/rameshvarun
Renamed unit to .https://github.com/sourcegraph/srclib-ruby/pull/4/commits/29cb3e5c565021be79696a8100589ebf3afbd04a
29cb3e5https://github.com/sourcegraph/srclib-ruby/pull/4/commits/29cb3e5c565021be79696a8100589ebf3afbd04a
https://github.com/rameshvarun
Updated test cases to reflect extra files added to the rubygem in sam…https://github.com/sourcegraph/srclib-ruby/pull/4/commits/e0fc8e388e19db5a9af0f2e0aa5336e0b3e17df6
e0fc8e3https://github.com/sourcegraph/srclib-ruby/pull/4/commits/e0fc8e388e19db5a9af0f2e0aa5336e0b3e17df6
https://github.com/rameshvarun
Ignore stdlib when looking for loose scriptshttps://github.com/sourcegraph/srclib-ruby/pull/4/commits/854040e8a0bb0a42fda0d3aa73a5852b3ab482b0
854040ehttps://github.com/sourcegraph/srclib-ruby/pull/4/commits/854040e8a0bb0a42fda0d3aa73a5852b3ab482b0
rameshvarunhttps://github.com/rameshvarun
Sep 2, 2014 https://github.com/sourcegraph/srclib-ruby/pull/4#ref-commit-4f0f513
https://github.com/rameshvarun
Merge pull requesthttps://github.com/sourcegraph/srclib-ruby/commit/4f0f5135e60364c3ec94d542f0ab83fbb959adf3
#4https://github.com/sourcegraph/srclib-ruby/pull/4
from sourcegraph/nongem-scriptshttps://github.com/sourcegraph/srclib-ruby/commit/4f0f5135e60364c3ec94d542f0ab83fbb959adf3
4f0f513https://github.com/sourcegraph/srclib-ruby/commit/4f0f5135e60364c3ec94d542f0ab83fbb959adf3
https://github.com/rameshvarun
rameshvarunhttps://github.com/rameshvarun
4f0f513https://github.com/sourcegraph/srclib-ruby/commit/4f0f5135e60364c3ec94d542f0ab83fbb959adf3
Sep 2, 2014https://github.com/sourcegraph/srclib-ruby/pull/4#event-159812047
https://github.com/rameshvarun
rameshvarunhttps://github.com/rameshvarun
September 2, 2014 02:50https://github.com/sourcegraph/srclib-ruby/pull/4#event-159812055
beyanghttps://github.com/beyang
Mar 5, 2016 https://github.com/sourcegraph/srclib-ruby/pull/4#ref-commit-b6820f4
https://github.com/rameshvarun
Merge pull requesthttps://github.com/sourcegraph/srclib-ruby/commit/b6820f45c764af202a7cb76ca722e368d1cdab77
#4https://github.com/sourcegraph/srclib-ruby/pull/4
from sourcegraph/nongem-scriptshttps://github.com/sourcegraph/srclib-ruby/commit/b6820f45c764af202a7cb76ca722e368d1cdab77
b6820f4https://github.com/sourcegraph/srclib-ruby/commit/b6820f45c764af202a7cb76ca722e368d1cdab77
https://github.co/hiddenchars
https://github.com/sourcegraph/srclib-ruby/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrclib-ruby%2Fpull%2F4
Please reload this pagehttps://github.com/sourcegraph/srclib-ruby/pull/4
https://github.com/rameshvarun
https://github.com/sqs
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.