SlideShare a Scribd company logo
1 of 51
Download to read offline
The secret of Release story
SHIBATA Hiroshi / GMO Pepabo, inc.
2018.04.27 RubyxElixerConf Taiwan 2018
How to distribute Ruby
to the world
self.introduce
self.introduce
=> {
name: “SHIBATA Hiroshi”,
nickname: “hsbt”,
organizations: [“ruby”, “rubygems”, “asakusarb”,
“pepabo”, …],
commit_bits: [“ruby”, “rake”, “rubygems”, “bundler”,
“rdoc”, “psych”, “ruby-build”, “railsgirls”, “railsgirls-
jp”, …],
sites: [“hsbt.org”, “ruby-lang.org”, “rubyci.org”,
“railsgirls.com”, “railsgirls.jp”],
}
What’s Ruby core
team?
1.
Ruby Committer
Heroku
• matz
• n0kada
$ cat ~svn/.ssh/authorized_keys | awk '{print $5}' | sort | uniq | wc -l
97
Total 95 people + 2 bot
Money Forward
• shyouhei
Full-time commiters
Cookpad
• ko1
• mametter
Speee
• mrkn
Branch maintainers
trunk known as 2.6
@nurse: Release manager
2.5
@nagachika: Stable branch maintainer
2.4, 2.3
@unak: Old stable branch maintainer
Ruby 2.6
2/24: 2.6.0preview1 release
It contained MJIT feature
see https://bugs.ruby-lang.org/issues/14235
5/?: 2.6.0preview2 release
RubyGems 3.0
Improve MJIT Performance
?
12/25: 2.6.0 final release
Ruby 2.6 timeframe
How release the Ruby
language
2.
Version number and release cycle
We plan to release every Christmas day.
• 2.1.0: 2013/12/25
• 2.2.0: 2014/12/25
• 2.3.0: 2015/12/25
• 2.4.0: 2016/12/25
• 2.5.0: 2017/12/25
• 2.6.0: 2018/12/25(TBD)
• …
• 3.0.0: 2020/xx/xx
Backport
Ruby core backport model
trunk
ruby_2_4
ruby_2_3
trunk
ruby_2_4
ruby_2_3
We backport fixes to stable branch from trunk.
We do not merge fixes to trunk from stable branch
How do request to back port
We use to management
backport’s patch on
redmine with specific
rule.
• Write a revision
number to Title or
library version
• Set a status to
“close”
• Fill backport field to
“2.5:REQUIRED”
Ruby CI
What’s Ruby CI
Ruby CI is a CI results collector for alternative
platforms
• https://rubyci.org
• https://github.com/ruby/rubyci
• https://github.com/ruby/chkbuild
Ruby CI goal is entirely supports all of Ruby
platform.
Ruby CI resources
Ruby CI goal is entirely supports all of Ruby
platform. Ruby CI built by a lot of cloud platforms
(20-30 VMs)
• AWS
• Azure
• GCP
• DigitalOcean
• on-premise servers(macOS)
• opencsw(Solaris)
Packaging & Release
Release time
We build a tar packages from svn repository used
`tools/make-snapshot`. After that, We will put them
to ftp server.
We have announce following resources.
• https://www.ruby-lang.org (and RSS)
• Mailing-list: ruby-list (https://lists.ruby-lang.org)
• Twitter: @rubylangorg
Security Release
Security release
We received reports about buffer overflow/
underflow, memory leak, directory traversal etc…
We hard to fix and release these security issue. so
all of release maintainer are volunteer work.
We have “security@ruby-lang.org” for security
report.
HackerOne
We’ve been use
https://hackerone.com/
ruby
It has bounty program
provided by IBB.
We accepts to security
report via hackerone
too.
What’s *.ruby-lang.org?
3.
What does mean “official”?
“official” means “Matz controllable”
Un-controllable examples:
• ruby-doc.org
• rubygems.org
• bundler.io
• Ruby version manager(rvm/rbenv/chruby)
*.ruby-lang.org
www.ruby-lang.org
Official Website of Ruby language.
see http://github.com/ruby/www.ruby-lang.org
svn.ruby-lang.org
Main repository of Ruby source. (Not git !!!)
bugs.ruby-lang.org
Official issue tracker build by redmine.
*.ruby-lang.org
ftp.ruby-lang.org
Site of distribute official package
lists.ruby-lang.org
Site of Mailing-list and MX records.
docs.ruby-lang.org
Hosted document generated from RDoc on Ruby
source code and rubima project. Rubima project is
a Japanese Documentation about ruby languages.
CDN
Our site and package distribution were supported by
fastly.
• www.ruby-lang.org
• cache.ruby-lang.org
• docs.ruby-lang.org
Statistics of our CDN:
• Access ratio: USA: 44.6%, EU: 18.0%, Asia:
31.0%, Australia: 2.1%, Latin America: 3.7%,
South Africa: 0.04%
• Bandwidth: 7,203 GB/month
Sponsors of the Ruby language
• heroku:
Unlimited dyno resources for websites
• fastly:
OSS plan of CDN for *.ruby-lang.org
• NaCl:
Network and Compute resources for
website
• Microsoft:
Provides Azure environment
Sponsors of the Ruby language(2)
• Ruby Association:
Grant of development(for AWS and
Ruby CI)
• Nihon Ruby no Kai:
macOS Server * 2
Grant of development(for Windows
platform)
• Sugaya research laboratory:
Network resources for macOS Server
rbenv/ruby-build
4.
Source distributeion
Binary distribution
• Windows: RubyInstaller2
• Linux: apt/yum/dnf
brightbox/software collection
• macOS: System binaries/homebrew/MacPorts
Source distribution
• Package: cache.ruby-lang.org
• Source code: svn.ruby-lang.org or github
What’s difference source package and others
Package(*.tar.gz)
• Pre-build transcode
• Generate configure script
• Do not need gnu tools without complier like
autoconf, bison
Source
• Need to gnu tools
• Need to ruby :)
Start to build Ruby language from source
$ git clone https://github.com/ruby/ruby
$ cd ruby
$ autoconf
$ ./configure —disable-install-doc
$ make -j
$ make install
You can invoke language tests with the following
instructions:
Ruby package manager
RVM
• To support Binary installation
• Applied Custom patchset
• Automatic installation of latest rubygems and
bundler
rbenv/ruby-build
• Modify environment variables.
• I’m also maintain them
chruby/ruby-install
• Modify a few environment variables.
rbenv/ruby-build
You can get them from
• homebrew
• git clone
Basic instructions are:$ rbenv install 2.5.0
$ rbenv install 2.6.0-dev
$ RUBY_CONFIGURE_OPT=—disable-install-doc rbenv install 2.4.3
$ rbenv install jruby-9.1.16.0
$ RUBY_CONFIGURE_OPT= rbenv install rbx-3.89
Ruby snap
5.
What’s snap?
“Snaps are containerised software packages that
are simple to create and install. They auto-update
and are safe to run. And because they bundle their
dependencies, they work on all major Linux systems
without modification.”
• https://snapcraft.io/
What’s snap?
https://build.snapcraft.io/user/ruby/snap.ruby
• You can use the latest version of Ruby like
2.5.1 without ruby version manager like
RVM/rbenv/chruby
• It package contained bundler gem, You can
use it without `gem install bundler`
• You can keep to clean your linux
environment.
Deep dive in Ruby snap.
$ which -a ruby
/snap/bin/ruby
$ ls /snap/bin/
ruby ruby.bundle ruby.gem ruby.irb ruby.rake ruby.rdoc ruby.ri
$ ls -lA /snap/bin/ruby
lrwxrwxrwx 1 root root 13 Apr 24 12:41 /snap/bin/ruby -> /usr/bin/snap
$ ls /snap/ruby/current
bin command-irb.wrapper command-ri.wrapper lib snap
command-bundle.wrapper command-rake.wrapper command-ruby.wrapper meta
command-gem.wrapper command-rdoc.wrapper include share
$ cat /snap/ruby/current/command-ruby.wrapper
#!/bin/sh
exec “$SNAP/bin/ruby” "$@"
Current Status
https://github.com/ruby/snap.ruby
• Ruby snap is `candidate` status yet.
• We need to test for production usage. But
We still have some issues about building
native extension.
• After `stable` release, You can use Ruby
binary of stable release in Linux via Snap.
To be continued…
git.ruby-lang.org
6.
git.ruby-lang.org
It’s available under the ruby-lang.org now!!!
https://git.ruby-lang.org
• It’s READONLY
• It’s built by cgit web interface,
• It’s integrated with redmine
• It’s still experimental status. I’m preparing to it
now.
What’s issues of migration of Git
Issue Tracker:
• Redmine on Heroku couldn’t use git repository.
Strategy
• How migrate git or github from svn (now
resolved!)
Toolchain:
• Packaging script depends on Subversion
repository and API.
Where do we go from here?
1. We migrate a toolchain like package script to git
from svn.
2. We will ship ruby package from git.ruby-
lang.org.
3. We will accept write commit on git.ruby-
lang.org.
4. We will accept to merge pull-request on GitHub
and sync them to git.ruby-lang.org (final goal)
Executive Officer CPO(Chief Productivity Officer)
Director of Business Process Re-engineering Office
at GMO Pepabo, Inc. @pepabo
Hiroshi SHIBATA @hsbt
https://www.hsbt.org
We are hiring!
in
Taiwan
We are hiring!!1
• Company Name: GMO Pepabo,
Inc.
• Location: HQ Office: Shibuya,
Tokyo. Fukuoka Office: Tenjin,
Hakata.
• Segment: Shared Hosting,
Domain Registration, E-
Commerce platform, The
marketplace for handmade
item.
• Job Title: Junior/Senior Web/
Mobile developper

More Related Content

What's hot

The Future of library dependency manageement of Ruby
The Future of library dependency manageement of RubyThe Future of library dependency manageement of Ruby
The Future of library dependency manageement of RubyHiroshi SHIBATA
 
The Future of Bundled Bundler
The Future of Bundled BundlerThe Future of Bundled Bundler
The Future of Bundled BundlerHiroshi SHIBATA
 
OSS Security the hard way
OSS Security the hard wayOSS Security the hard way
OSS Security the hard wayHiroshi SHIBATA
 
The Future of library dependency management of Ruby
 The Future of library dependency management of Ruby The Future of library dependency management of Ruby
The Future of library dependency management of RubyHiroshi SHIBATA
 
How to develop the Standard Libraries of Ruby?
How to develop the Standard Libraries of Ruby?How to develop the Standard Libraries of Ruby?
How to develop the Standard Libraries of Ruby?Hiroshi SHIBATA
 
Ruby Security the Hard Way
Ruby Security the Hard WayRuby Security the Hard Way
Ruby Security the Hard WayHiroshi SHIBATA
 
20140425 ruby conftaiwan2014
20140425 ruby conftaiwan201420140425 ruby conftaiwan2014
20140425 ruby conftaiwan2014Hiroshi SHIBATA
 
20140419 oedo rubykaigi04
20140419 oedo rubykaigi0420140419 oedo rubykaigi04
20140419 oedo rubykaigi04Hiroshi SHIBATA
 
tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02Hiroshi SHIBATA
 
The details of CI/CD environment for Ruby
The details of CI/CD environment for RubyThe details of CI/CD environment for Ruby
The details of CI/CD environment for RubyHiroshi SHIBATA
 
Middleware as Code with mruby
Middleware as Code with mrubyMiddleware as Code with mruby
Middleware as Code with mrubyHiroshi SHIBATA
 
How to Begin to Develop Ruby Core
How to Begin to Develop Ruby CoreHow to Begin to Develop Ruby Core
How to Begin to Develop Ruby CoreHiroshi SHIBATA
 
Gemification plan of Standard Library on Ruby
Gemification plan of Standard Library on RubyGemification plan of Standard Library on Ruby
Gemification plan of Standard Library on RubyHiroshi SHIBATA
 
Gemification for Ruby 2.5/3.0
Gemification for Ruby 2.5/3.0Gemification for Ruby 2.5/3.0
Gemification for Ruby 2.5/3.0Hiroshi SHIBATA
 

What's hot (20)

The Future of library dependency manageement of Ruby
The Future of library dependency manageement of RubyThe Future of library dependency manageement of Ruby
The Future of library dependency manageement of Ruby
 
Gems on Ruby
Gems on RubyGems on Ruby
Gems on Ruby
 
The Future of Bundled Bundler
The Future of Bundled BundlerThe Future of Bundled Bundler
The Future of Bundled Bundler
 
OSS Security the hard way
OSS Security the hard wayOSS Security the hard way
OSS Security the hard way
 
The Future of library dependency management of Ruby
 The Future of library dependency management of Ruby The Future of library dependency management of Ruby
The Future of library dependency management of Ruby
 
How to develop the Standard Libraries of Ruby?
How to develop the Standard Libraries of Ruby?How to develop the Standard Libraries of Ruby?
How to develop the Standard Libraries of Ruby?
 
Ruby Security the Hard Way
Ruby Security the Hard WayRuby Security the Hard Way
Ruby Security the Hard Way
 
20140425 ruby conftaiwan2014
20140425 ruby conftaiwan201420140425 ruby conftaiwan2014
20140425 ruby conftaiwan2014
 
20140419 oedo rubykaigi04
20140419 oedo rubykaigi0420140419 oedo rubykaigi04
20140419 oedo rubykaigi04
 
20140918 ruby kaigi2014
20140918 ruby kaigi201420140918 ruby kaigi2014
20140918 ruby kaigi2014
 
tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02
 
RubyGems 3 & 4
RubyGems 3 & 4RubyGems 3 & 4
RubyGems 3 & 4
 
20140925 rails pacific
20140925 rails pacific20140925 rails pacific
20140925 rails pacific
 
The details of CI/CD environment for Ruby
The details of CI/CD environment for RubyThe details of CI/CD environment for Ruby
The details of CI/CD environment for Ruby
 
Middleware as Code with mruby
Middleware as Code with mrubyMiddleware as Code with mruby
Middleware as Code with mruby
 
How to Begin to Develop Ruby Core
How to Begin to Develop Ruby CoreHow to Begin to Develop Ruby Core
How to Begin to Develop Ruby Core
 
Gemification plan of Standard Library on Ruby
Gemification plan of Standard Library on RubyGemification plan of Standard Library on Ruby
Gemification plan of Standard Library on Ruby
 
Gemification for Ruby 2.5/3.0
Gemification for Ruby 2.5/3.0Gemification for Ruby 2.5/3.0
Gemification for Ruby 2.5/3.0
 
From 'Legacy' to 'Edge'
From 'Legacy' to 'Edge'From 'Legacy' to 'Edge'
From 'Legacy' to 'Edge'
 
How DSL works on Ruby
How DSL works on RubyHow DSL works on Ruby
How DSL works on Ruby
 

Similar to How to distribute Ruby to the world

The story of language development
The story of language developmentThe story of language development
The story of language developmentHiroshi SHIBATA
 
The secret of programming language development and future
The secret of programming  language development and futureThe secret of programming  language development and future
The secret of programming language development and futureHiroshi SHIBATA
 
RubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on RailsRubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on Railselliando dias
 
Ship It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemShip It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemYi-Ting Cheng
 
Toolbox of a Ruby Team
Toolbox of a Ruby TeamToolbox of a Ruby Team
Toolbox of a Ruby TeamArto Artnik
 
Large-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesLarge-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesHiroshi SHIBATA
 
Dcjq node.js presentation
Dcjq node.js presentationDcjq node.js presentation
Dcjq node.js presentationasync_io
 
One RubyStack to Rule them All
One RubyStack to Rule them AllOne RubyStack to Rule them All
One RubyStack to Rule them Allelliando dias
 
Docker module 1
Docker module 1Docker module 1
Docker module 1Liang Bo
 
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊Po-Jen Lai
 
JRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the CloudJRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the CloudHiro Asari
 
Crank Up Your Apps With TorqueBox
Crank Up Your Apps With TorqueBoxCrank Up Your Apps With TorqueBox
Crank Up Your Apps With TorqueBoxJim Crossley
 
ASP.NET 5 auf Raspberry PI & docker
ASP.NET 5 auf Raspberry PI & dockerASP.NET 5 auf Raspberry PI & docker
ASP.NET 5 auf Raspberry PI & dockerJürgen Gutsch
 
Control your deployments with Capistrano
Control your deployments with CapistranoControl your deployments with Capistrano
Control your deployments with CapistranoRamazan K
 
Running Docker on ARM
Running Docker on ARMRunning Docker on ARM
Running Docker on ARMDieter Reuter
 
Leonid Vasilyev "Building, deploying and running production code at Dropbox"
Leonid Vasilyev  "Building, deploying and running production code at Dropbox"Leonid Vasilyev  "Building, deploying and running production code at Dropbox"
Leonid Vasilyev "Building, deploying and running production code at Dropbox"IT Event
 
Using rbenv in Production
Using rbenv in ProductionUsing rbenv in Production
Using rbenv in ProductionNic Benders
 
Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10Maurício Linhares
 
How to automate all your SEO projects
How to automate all your SEO projectsHow to automate all your SEO projects
How to automate all your SEO projectsVincent Terrasi
 

Similar to How to distribute Ruby to the world (20)

The story of language development
The story of language developmentThe story of language development
The story of language development
 
The secret of programming language development and future
The secret of programming  language development and futureThe secret of programming  language development and future
The secret of programming language development and future
 
RubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on RailsRubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on Rails
 
Ship It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemShip It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails Ecosystem
 
Toolbox of a Ruby Team
Toolbox of a Ruby TeamToolbox of a Ruby Team
Toolbox of a Ruby Team
 
Large-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesLarge-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 Minutes
 
Dcjq node.js presentation
Dcjq node.js presentationDcjq node.js presentation
Dcjq node.js presentation
 
One RubyStack to Rule them All
One RubyStack to Rule them AllOne RubyStack to Rule them All
One RubyStack to Rule them All
 
2 Basics
2 Basics2 Basics
2 Basics
 
Docker module 1
Docker module 1Docker module 1
Docker module 1
 
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
COSCUP 2016 - ROS + Gazebo機器人模擬器工作坊
 
JRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the CloudJRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the Cloud
 
Crank Up Your Apps With TorqueBox
Crank Up Your Apps With TorqueBoxCrank Up Your Apps With TorqueBox
Crank Up Your Apps With TorqueBox
 
ASP.NET 5 auf Raspberry PI & docker
ASP.NET 5 auf Raspberry PI & dockerASP.NET 5 auf Raspberry PI & docker
ASP.NET 5 auf Raspberry PI & docker
 
Control your deployments with Capistrano
Control your deployments with CapistranoControl your deployments with Capistrano
Control your deployments with Capistrano
 
Running Docker on ARM
Running Docker on ARMRunning Docker on ARM
Running Docker on ARM
 
Leonid Vasilyev "Building, deploying and running production code at Dropbox"
Leonid Vasilyev  "Building, deploying and running production code at Dropbox"Leonid Vasilyev  "Building, deploying and running production code at Dropbox"
Leonid Vasilyev "Building, deploying and running production code at Dropbox"
 
Using rbenv in Production
Using rbenv in ProductionUsing rbenv in Production
Using rbenv in Production
 
Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10
 
How to automate all your SEO projects
How to automate all your SEO projectsHow to automate all your SEO projects
How to automate all your SEO projects
 

More from Hiroshi SHIBATA

Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Deep dive into Ruby's require - RubyConf Taiwan 2023
Deep dive into Ruby's require - RubyConf Taiwan 2023Deep dive into Ruby's require - RubyConf Taiwan 2023
Deep dive into Ruby's require - RubyConf Taiwan 2023Hiroshi SHIBATA
 
How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?Hiroshi SHIBATA
 
How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?Hiroshi SHIBATA
 
Ruby コミッターと歩む Ruby を用いたプロダクト開発
Ruby コミッターと歩む Ruby を用いたプロダクト開発Ruby コミッターと歩む Ruby を用いたプロダクト開発
Ruby コミッターと歩む Ruby を用いたプロダクト開発Hiroshi SHIBATA
 
Why ANDPAD commit Ruby and RubyKaigi?
Why ANDPAD commit Ruby and RubyKaigi?Why ANDPAD commit Ruby and RubyKaigi?
Why ANDPAD commit Ruby and RubyKaigi?Hiroshi SHIBATA
 
RailsGirls から始める エンジニアリングはじめの一歩
RailsGirls から始める エンジニアリングはじめの一歩RailsGirls から始める エンジニアリングはじめの一歩
RailsGirls から始める エンジニアリングはじめの一歩Hiroshi SHIBATA
 
Productive Organization with Ruby
Productive Organization with RubyProductive Organization with Ruby
Productive Organization with RubyHiroshi SHIBATA
 

More from Hiroshi SHIBATA (8)

Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Deep dive into Ruby's require - RubyConf Taiwan 2023
Deep dive into Ruby's require - RubyConf Taiwan 2023Deep dive into Ruby's require - RubyConf Taiwan 2023
Deep dive into Ruby's require - RubyConf Taiwan 2023
 
How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?
 
How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?How resolve Gem dependencies in your code?
How resolve Gem dependencies in your code?
 
Ruby コミッターと歩む Ruby を用いたプロダクト開発
Ruby コミッターと歩む Ruby を用いたプロダクト開発Ruby コミッターと歩む Ruby を用いたプロダクト開発
Ruby コミッターと歩む Ruby を用いたプロダクト開発
 
Why ANDPAD commit Ruby and RubyKaigi?
Why ANDPAD commit Ruby and RubyKaigi?Why ANDPAD commit Ruby and RubyKaigi?
Why ANDPAD commit Ruby and RubyKaigi?
 
RailsGirls から始める エンジニアリングはじめの一歩
RailsGirls から始める エンジニアリングはじめの一歩RailsGirls から始める エンジニアリングはじめの一歩
RailsGirls から始める エンジニアリングはじめの一歩
 
Productive Organization with Ruby
Productive Organization with RubyProductive Organization with Ruby
Productive Organization with Ruby
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

How to distribute Ruby to the world

  • 1. The secret of Release story SHIBATA Hiroshi / GMO Pepabo, inc. 2018.04.27 RubyxElixerConf Taiwan 2018 How to distribute Ruby to the world
  • 3. self.introduce => { name: “SHIBATA Hiroshi”, nickname: “hsbt”, organizations: [“ruby”, “rubygems”, “asakusarb”, “pepabo”, …], commit_bits: [“ruby”, “rake”, “rubygems”, “bundler”, “rdoc”, “psych”, “ruby-build”, “railsgirls”, “railsgirls- jp”, …], sites: [“hsbt.org”, “ruby-lang.org”, “rubyci.org”, “railsgirls.com”, “railsgirls.jp”], }
  • 4.
  • 5.
  • 7. Ruby Committer Heroku • matz • n0kada $ cat ~svn/.ssh/authorized_keys | awk '{print $5}' | sort | uniq | wc -l 97 Total 95 people + 2 bot Money Forward • shyouhei Full-time commiters Cookpad • ko1 • mametter Speee • mrkn
  • 8. Branch maintainers trunk known as 2.6 @nurse: Release manager 2.5 @nagachika: Stable branch maintainer 2.4, 2.3 @unak: Old stable branch maintainer
  • 10. 2/24: 2.6.0preview1 release It contained MJIT feature see https://bugs.ruby-lang.org/issues/14235 5/?: 2.6.0preview2 release RubyGems 3.0 Improve MJIT Performance ? 12/25: 2.6.0 final release Ruby 2.6 timeframe
  • 11.
  • 12. How release the Ruby language 2.
  • 13. Version number and release cycle We plan to release every Christmas day. • 2.1.0: 2013/12/25 • 2.2.0: 2014/12/25 • 2.3.0: 2015/12/25 • 2.4.0: 2016/12/25 • 2.5.0: 2017/12/25 • 2.6.0: 2018/12/25(TBD) • … • 3.0.0: 2020/xx/xx
  • 15. Ruby core backport model trunk ruby_2_4 ruby_2_3 trunk ruby_2_4 ruby_2_3 We backport fixes to stable branch from trunk. We do not merge fixes to trunk from stable branch
  • 16. How do request to back port We use to management backport’s patch on redmine with specific rule. • Write a revision number to Title or library version • Set a status to “close” • Fill backport field to “2.5:REQUIRED”
  • 18. What’s Ruby CI Ruby CI is a CI results collector for alternative platforms • https://rubyci.org • https://github.com/ruby/rubyci • https://github.com/ruby/chkbuild Ruby CI goal is entirely supports all of Ruby platform.
  • 19.
  • 20. Ruby CI resources Ruby CI goal is entirely supports all of Ruby platform. Ruby CI built by a lot of cloud platforms (20-30 VMs) • AWS • Azure • GCP • DigitalOcean • on-premise servers(macOS) • opencsw(Solaris)
  • 22. Release time We build a tar packages from svn repository used `tools/make-snapshot`. After that, We will put them to ftp server. We have announce following resources. • https://www.ruby-lang.org (and RSS) • Mailing-list: ruby-list (https://lists.ruby-lang.org) • Twitter: @rubylangorg
  • 24. Security release We received reports about buffer overflow/ underflow, memory leak, directory traversal etc… We hard to fix and release these security issue. so all of release maintainer are volunteer work. We have “security@ruby-lang.org” for security report.
  • 25. HackerOne We’ve been use https://hackerone.com/ ruby It has bounty program provided by IBB. We accepts to security report via hackerone too.
  • 27. What does mean “official”? “official” means “Matz controllable” Un-controllable examples: • ruby-doc.org • rubygems.org • bundler.io • Ruby version manager(rvm/rbenv/chruby)
  • 28. *.ruby-lang.org www.ruby-lang.org Official Website of Ruby language. see http://github.com/ruby/www.ruby-lang.org svn.ruby-lang.org Main repository of Ruby source. (Not git !!!) bugs.ruby-lang.org Official issue tracker build by redmine.
  • 29. *.ruby-lang.org ftp.ruby-lang.org Site of distribute official package lists.ruby-lang.org Site of Mailing-list and MX records. docs.ruby-lang.org Hosted document generated from RDoc on Ruby source code and rubima project. Rubima project is a Japanese Documentation about ruby languages.
  • 30. CDN Our site and package distribution were supported by fastly. • www.ruby-lang.org • cache.ruby-lang.org • docs.ruby-lang.org Statistics of our CDN: • Access ratio: USA: 44.6%, EU: 18.0%, Asia: 31.0%, Australia: 2.1%, Latin America: 3.7%, South Africa: 0.04% • Bandwidth: 7,203 GB/month
  • 31. Sponsors of the Ruby language • heroku: Unlimited dyno resources for websites • fastly: OSS plan of CDN for *.ruby-lang.org • NaCl: Network and Compute resources for website • Microsoft: Provides Azure environment
  • 32. Sponsors of the Ruby language(2) • Ruby Association: Grant of development(for AWS and Ruby CI) • Nihon Ruby no Kai: macOS Server * 2 Grant of development(for Windows platform) • Sugaya research laboratory: Network resources for macOS Server
  • 34. Source distributeion Binary distribution • Windows: RubyInstaller2 • Linux: apt/yum/dnf brightbox/software collection • macOS: System binaries/homebrew/MacPorts Source distribution • Package: cache.ruby-lang.org • Source code: svn.ruby-lang.org or github
  • 35. What’s difference source package and others Package(*.tar.gz) • Pre-build transcode • Generate configure script • Do not need gnu tools without complier like autoconf, bison Source • Need to gnu tools • Need to ruby :)
  • 36. Start to build Ruby language from source $ git clone https://github.com/ruby/ruby $ cd ruby $ autoconf $ ./configure —disable-install-doc $ make -j $ make install You can invoke language tests with the following instructions:
  • 37. Ruby package manager RVM • To support Binary installation • Applied Custom patchset • Automatic installation of latest rubygems and bundler rbenv/ruby-build • Modify environment variables. • I’m also maintain them chruby/ruby-install • Modify a few environment variables.
  • 38. rbenv/ruby-build You can get them from • homebrew • git clone Basic instructions are:$ rbenv install 2.5.0 $ rbenv install 2.6.0-dev $ RUBY_CONFIGURE_OPT=—disable-install-doc rbenv install 2.4.3 $ rbenv install jruby-9.1.16.0 $ RUBY_CONFIGURE_OPT= rbenv install rbx-3.89
  • 40. What’s snap? “Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. And because they bundle their dependencies, they work on all major Linux systems without modification.” • https://snapcraft.io/
  • 41. What’s snap? https://build.snapcraft.io/user/ruby/snap.ruby • You can use the latest version of Ruby like 2.5.1 without ruby version manager like RVM/rbenv/chruby • It package contained bundler gem, You can use it without `gem install bundler` • You can keep to clean your linux environment.
  • 42. Deep dive in Ruby snap. $ which -a ruby /snap/bin/ruby $ ls /snap/bin/ ruby ruby.bundle ruby.gem ruby.irb ruby.rake ruby.rdoc ruby.ri $ ls -lA /snap/bin/ruby lrwxrwxrwx 1 root root 13 Apr 24 12:41 /snap/bin/ruby -> /usr/bin/snap $ ls /snap/ruby/current bin command-irb.wrapper command-ri.wrapper lib snap command-bundle.wrapper command-rake.wrapper command-ruby.wrapper meta command-gem.wrapper command-rdoc.wrapper include share $ cat /snap/ruby/current/command-ruby.wrapper #!/bin/sh exec “$SNAP/bin/ruby” "$@"
  • 43. Current Status https://github.com/ruby/snap.ruby • Ruby snap is `candidate` status yet. • We need to test for production usage. But We still have some issues about building native extension. • After `stable` release, You can use Ruby binary of stable release in Linux via Snap. To be continued…
  • 45. git.ruby-lang.org It’s available under the ruby-lang.org now!!! https://git.ruby-lang.org • It’s READONLY • It’s built by cgit web interface, • It’s integrated with redmine • It’s still experimental status. I’m preparing to it now.
  • 46.
  • 47. What’s issues of migration of Git Issue Tracker: • Redmine on Heroku couldn’t use git repository. Strategy • How migrate git or github from svn (now resolved!) Toolchain: • Packaging script depends on Subversion repository and API.
  • 48. Where do we go from here? 1. We migrate a toolchain like package script to git from svn. 2. We will ship ruby package from git.ruby- lang.org. 3. We will accept write commit on git.ruby- lang.org. 4. We will accept to merge pull-request on GitHub and sync them to git.ruby-lang.org (final goal)
  • 49. Executive Officer CPO(Chief Productivity Officer) Director of Business Process Re-engineering Office at GMO Pepabo, Inc. @pepabo Hiroshi SHIBATA @hsbt https://www.hsbt.org
  • 51. We are hiring!!1 • Company Name: GMO Pepabo, Inc. • Location: HQ Office: Shibuya, Tokyo. Fukuoka Office: Tenjin, Hakata. • Segment: Shared Hosting, Domain Registration, E- Commerce platform, The marketplace for handmade item. • Job Title: Junior/Senior Web/ Mobile developper