Compare commits

...
Sign in to create a new pull request.

57 commits

Author SHA1 Message Date
Fedora Release Engineering
3d77066f0c Branching f33 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-20 04:49:38 +00:00
Jun Aruga
ee9e673941 Update macros.
* Remove %_without_hardening_test as f30 was removed from the buildroot.
* Add %test_timeout_scale to improve unstable tests by timeout in ruby.
2020-08-11 13:41:48 +02:00
Jun Aruga
368675fe5e Fix build failures.
* Skip el8 target to avoid the following error.
  "error: one or more PCH files were found, but they were invalid".
* Set %_without_hardening_test macro to avoid checksec error on f30.
2020-05-25 19:22:36 +02:00
Jun Aruga
fbccca2e79 Remove "-f28", as it's not the build target any more. 2020-05-22 17:56:52 +02:00
Jun Aruga
ddec35ca58 Add ruby-default-gems RPM. 2020-05-22 17:27:55 +02:00
Fedora Release Engineering
afeda4b525 Branching f32 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-02-14 17:11:07 +00:00
Fedora Release Engineering
a61d136f69 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-02-06 18:30:07 +00:00
Fedora Release Engineering
aec408b5ec Branching f31 from rawhide, fourth attempt after platform:f32 enablement due to https://pagure.io/releng/issue/8664
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-09-22 07:59:10 +00:00
Fedora Release Engineering
6b37365700 Branching f31 from rawhide, second attempt after platform:f32 enablement
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-26 14:03:56 +00:00
Fedora Release Engineering
28d4f50f24 Branching f31 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-13 20:04:52 +00:00
Fedora Release Engineering
0f8fedf4e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-08-12 15:07:09 +00:00
Jun Aruga
09fa9ca804 Change ruby-irb to rubygem-irb.
Because rpms/ruby changed the package name.
2019-05-29 14:55:49 +02:00
Jun Aruga
1e6f5f80fc Remove rubygem-bundler.
rubygem-bundler is now included in rpms/ruby.
2019-05-29 14:53:39 +02:00
Jun Aruga
3eb86e85d1 Remove outdated README.md.
modules/ruby is available now!
2019-05-02 16:03:33 +02:00
Jun Aruga
0a871b6a0b Empty commit to update the built RPM packages to latest verson. 2019-04-03 16:07:19 +02:00
Jun Aruga
dd0a785374 Remove "%_without_rubypick 1" to build with same condition of rpms/ruby. 2019-03-13 16:02:34 +01:00
Jun Aruga
2f9338d93d Empty commit to update the built RPM packages to latest verson.
To apply a latest commit to fix rpms/ruby FTBFS.
2019-03-11 17:15:31 +01:00
Fedora Release Engineering
2333349e7a Branching f30 from rawhide, second attempt after platform:f31 enablement
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-03-04 18:13:48 +00:00
Fedora Release Engineering
dd90e5da31 Branching f30 from rawhide
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-03-01 19:23:03 +00:00
Fedora Release Engineering
9f16514971 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-18 23:01:09 +00:00
Jun Aruga
e3210c173d Refactoring multilib. 2018-10-03 18:37:15 +02:00
Jun Aruga
16723c8251 Add multilib for both i686 and x86_64 versions to be installed on x86_64. 2018-10-03 18:32:00 +02:00
Jun Aruga
b66ae8c5de Remove macros to remove systemtap, git and cmake.
Because it is better to run the tests for that in rpms/ruby.
Last time we could not refer the packages that is not included in platform module.
But now we can.
2018-09-26 16:35:44 +02:00
Jun Aruga
e4b088785f The reason that we removed f28 from platform is for TLS 1.3 issues.
> Remove platform f28 to avoid the build failure as a temporary workflow.

Because on f28 the patch to fix TLS 1.3 issues are not applied.
The test TestNetHTTPS#test_session_reuse is failed.
2018-09-18 10:37:04 +02:00
Jun Aruga
bcce58d393 Remove platform f28 to avoid the build failure as a temporary workflow. 2018-09-17 17:40:25 +02:00
Jun Aruga
f21efbfb93 "platform: []" is recommended.
To build for all supported Fedora releases flexibly.
See https://docs.fedoraproject.org/en-US/modularity/making-modules/defining-modules/#_modular_dependencies
2018-09-14 17:58:23 +02:00
Jun Aruga
85e4fbf784 Remove the comment for dependency-report repository.
Because it is outdated.
See https://github.com/fedora-modularity/dependency-report/issues/12
2018-09-14 17:52:21 +02:00
Jun Aruga
326c4847b6 Skip tests because of test failure of rubygem-mongo. 2018-09-14 16:21:17 +02:00
Jun Aruga
c1fe9b8878 Empty commit to update the built RPM packages to latest verson. 2018-09-14 14:24:30 +02:00
Jun Aruga
e659d77af9 Update to modulemd v2. 2018-09-03 18:03:12 +02:00
Jun Aruga
28ccf1a2f9 Empty commit to update the built RPM packages to latest verson. 2018-09-03 15:15:57 +02:00
Jun Aruga
5d39416d84 Remove doc packages comments.
doc packages not listed in /data/api/rpms are shipped
as "unsupported" or "implementation details".
See https://pagure.io/modulemd/blob/master/f/spec.yaml
2018-08-31 12:12:42 +02:00
Jun Aruga
2f6b129c8e Remove doc packages from /data/filter/rpms to ship those. 2018-08-30 17:05:14 +02:00
Jun Aruga
2c2bc9b4f0 Add DB connectors and rubygem-abrt. 2018-04-17 16:58:46 +02:00
Jun Aruga
f8f25ee209 Empty commit to update the built RPM packages to latest verson. 2018-03-27 11:10:41 +02:00
Jun Aruga
29fe4b7b2e Update master branch with latest specification. 2018-02-15 14:06:16 +01:00
Jun Aruga
f938da2a53 Bump the commit because of a mbs-build issue. 2017-11-03 17:26:09 +01:00
Jun Aruga
3675ac4331 Add explanation for the omitted profiles issue. 2017-11-03 16:38:31 +01:00
Jun Aruga
ea7e431108 Remove build dependency RPMs that belong in platform module now. 2017-11-03 13:48:47 +01:00
Jun Aruga
df6ff5381f Fix typo for filter element.
Found by the report
https://src.fedoraproject.org/modules/ruby/pull-request/3 .
2017-11-02 17:02:31 +01:00
Jun Aruga
2d087e8f13 As a temporary workflow, add default profile.
Add it referring modules/perl perl.yaml.
Omitted default profile causes an error because of the dnf issue.
2017-11-02 16:58:59 +01:00
Jun Aruga
0410a480a4 Remove bootstrap from a build requires module.
* Add platform module as a build requires module instead of that.
* Add macros to remove some build dependencies.
2017-10-27 13:48:36 +02:00
Jan Scotka
cd20f3fc96 repaired structure and config.yaml for nspawn and docker 2017-10-05 11:26:44 +02:00
Jun Aruga
9b931f4585 Remove platform-placeholder from dependencies/requires.
It is just a temporary workaround for the dependency resolution scripts.
2017-10-03 18:46:06 +02:00
Jun Aruga
33ab62d06b Drop rubypick from the Ruby module.
Because rpms/ruby dropped rubypick from the ruby-devel dependency on rawhide.
2017-09-18 10:32:07 +02:00
Jun Aruga
2efd3b9f48 Changed the BZ URL to see it from modules/ruby Bug reports page.
https://bugzilla.redhat.com/show_bug.cgi?id=1490285
2017-09-11 11:01:53 +02:00
Jun Aruga
48876570c3 Updated README.md
* Removed outdated contents.
* Added the Bugzilla URL to manage this Ruby module's status.
  https://bugzilla.redhat.com/show_bug.cgi?id=1490275
2017-09-11 10:46:11 +02:00
Jun Aruga
92fcf2522e Update tests.
Keep watching a workflow with modularity-testing-framework will be stable.
2017-09-04 19:48:38 +02:00
Jun Aruga
a7cbd8ce37 Enable rubypick used by ruby-devel as a binary RPM. 2017-09-01 12:33:18 +02:00
Nils Philippsen
4decf52202 fix licenses
This addresses two topics:

- The license/module key describes the license of the module (i.e. files
  in this repository) not that of the components contained in it.

- The license/components key should be left empty and filled in by the
  module build tools. This way, the respective current licenses of the
  components used for building are put in, and we don't have to maintain
  their licenses in two places.
2017-09-01 10:51:46 +02:00
Nils Philippsen
bc83a6b890 remove stray trailing apostrophe 2017-09-01 10:51:29 +02:00
Jun Aruga
0adc7c7978 Move /data/filter/rpms element. 2017-08-31 15:38:04 +02:00
Jun Aruga
aaffc099fe Fix to pass "mbs-build local". 2017-08-30 15:03:14 +02:00
Petr "Stone" Hracek
addd9b74a4 Add to dependency hostname
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-05-03 13:00:07 +02:00
Petr "Stone" Hracek
f319e135b7 Update tests
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-05-03 12:54:26 +02:00
Petr "Stone" Hracek
a5499de9e0 First tests
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-05-02 14:35:14 +02:00
mkocka
023a0def73 adding ruby deps info 2017-04-11 10:58:10 +02:00
6 changed files with 166 additions and 0 deletions

2
.gitignore vendored
View file

@ -0,0 +1,2 @@
*.py[oc]
tests/generated.py

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
# A workflow with docker is still uncertain.
# Keep watching below file and other module's situation.
# https://github.com/container-images/container-image-template/blob/master/Dockerfile.template
FROM registry.fedoraproject.org/f26-modular/boltron
WORKDIR /build
COPY . .
ENV LC_CTYPE C.UTF-8
RUN dnf -y update
RUN dnf -y --nodocs install \
ruby \
&& dnf -y clean all
CMD /bin/bash

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
DOCKER_IMAGE=ruby
default: test
build-docker:
docker build -t $(DOCKER_IMAGE) .
test-nspawn:
MODULE=nspawn $(MAKE) -C tests test
test-docker: build-docker
MODULE=docker URL=docker=$(DOCKER_IMAGE) $(MAKE) -C tests test
test: test-nspawn test-docker

113
ruby.yaml Normal file
View file

@ -0,0 +1,113 @@
document: modulemd
version: 2
data:
# From ruby.spec Summary
summary: An interpreter of object-oriented scripting language
# From ruby.spec description
description: >-
Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text
files and to do system management tasks (as in Perl). It is simple,
straight-forward, and extensible.
license:
module:
- MIT
references:
community: http://ruby-lang.org/
documentation: https://www.ruby-lang.org/en/documentation/
tracker: https://bugs.ruby-lang.org/
dependencies:
- buildrequires:
# platform: [] is recommended.
platform: [-el8]
requires:
platform: [-el8]
components:
# SRPMs
rpms:
ruby:
# From ruby.spec Summary
rationale: An interpreter of object-oriented scripting language
multilib: [x86_64]
buildorder: 101
ref: master
rubygem-abrt:
# From rubygem-abrt.spec Summary
rationale: >-
ABRT support for Ruby
buildorder: 102
ref: master
rubygem-mysql2:
# From rubygem-mysql2.spec Summary
rationale: >-
A simple, fast Mysql library for Ruby, binding to libmysql
buildorder: 102
ref: master
rubygem-pg:
# From rubygem-pg.spec Summary
rationale: >-
A Ruby interface to the PostgreSQL RDBMS
buildorder: 102
ref: master
rubygem-bson:
# From rubygem-bson.spec Summary
rationale: >-
Ruby Implementation of the BSON specification
buildorder: 102
ref: master
rubygem-mongo:
# From rubygem-mongo.spec Summary
rationale: >-
Ruby driver for MongoDB
buildorder: 103
ref: master
buildopts:
rpms:
macros: |
# To disable tests in several packages.
%_without_tests 1
# To avoid the test faiures by timeout in ruby.
%test_timeout_scale 6
api:
# RPMs
# From *.spec %package
rpms:
# From ruby.spec
- ruby
- ruby-devel
- ruby-libs
- ruby-default-gems
- rubygems
- rubygems-devel
- rubygem-bigdecimal
- rubygem-bundler
# It's used in Ruby 2.6 on f31.
- rubygem-did_you_mean
- rubygem-io-console
- rubygem-irb
- rubygem-json
- rubygem-minitest
- rubygem-net-telnet
- rubygem-openssl
- rubygem-power_assert
- rubygem-psych
- rubygem-rake
- rubygem-rdoc
- rubygem-test-unit
- rubygem-xmlrpc
# From rubygem-abrt.spec
- rubygem-abrt
# From rubygem-mysql2.spec
- rubygem-mysql2
# From rubygem-pg.spec
- rubygem-pg
# From rubygem-bson.spec
- rubygem-bson
# From rubygem-mongo.spec
- rubygem-mongo
# Add profiles/default as a temporary workflow,
# because of a issue for omitted profiles element.
profiles:
default:
rpms:
- ruby

6
tests/Makefile Normal file
View file

@ -0,0 +1,6 @@
# Installation
# https://meta-test-family.readthedocs.io/en/latest/installation.html#installing-mtf
test:
mtf-env-set
mtf-generator
mtf -l *.py

15
tests/config.yaml Normal file
View file

@ -0,0 +1,15 @@
document: modularity-testing
version: 1
name: ruby
modulemd-url: https://src.fedoraproject.org/cgit/modules/ruby.git/plain/ruby.yaml
packages:
rpms:
- ruby
module:
rpm:
url: http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/26/Everything/x86_64/os/
docker:
url: docker.io/centos/ruby-23-centos7
test:
version:
- 'ruby -v'