RpmRepositoryFile model with uploader and spec
Issue url: https://gitlab.com/gitlab-org/gitlab/-/issues/372286 Added Packages::Rpm::RepositoryFile model for project-level files required by RPM yum/dnf repositories. Added corresponding uploader and specs for model. Changelog: added
显示
- app/models/packages/rpm/repository_file.rb 25 个添加, 0 个删除app/models/packages/rpm/repository_file.rb
- app/models/project.rb 3 个添加, 0 个删除app/models/project.rb
- app/uploaders/packages/rpm/repository_file_uploader.rb 33 个添加, 0 个删除app/uploaders/packages/rpm/repository_file_uploader.rb
- db/docs/packages_rpm_repository_files.yml 9 个添加, 0 个删除db/docs/packages_rpm_repository_files.yml
- db/migrate/20220912153839_create_packages_rpm_repository_file.rb 25 个添加, 0 个删除...ate/20220912153839_create_packages_rpm_repository_file.rb
- db/schema_migrations/20220912153839 1 个添加, 0 个删除db/schema_migrations/20220912153839
- db/structure.sql 36 个添加, 0 个删除db/structure.sql
- lib/gitlab/database/gitlab_schemas.yml 1 个添加, 0 个删除lib/gitlab/database/gitlab_schemas.yml
- spec/factories/packages/rpm/rpm_repository_files.rb 33 个添加, 0 个删除spec/factories/packages/rpm/rpm_repository_files.rb
- spec/fixtures/packages/rpm/repodata/repomd.xml 27 个添加, 0 个删除spec/fixtures/packages/rpm/repodata/repomd.xml
- spec/lib/gitlab/import_export/all_models.yml 1 个添加, 0 个删除spec/lib/gitlab/import_export/all_models.yml
- spec/models/factories_spec.rb 1 个添加, 0 个删除spec/models/factories_spec.rb
- spec/models/packages/rpm/repository_file_spec.rb 44 个添加, 0 个删除spec/models/packages/rpm/repository_file_spec.rb
- spec/support/helpers/stub_object_storage.rb 6 个添加, 0 个删除spec/support/helpers/stub_object_storage.rb
- spec/uploaders/packages/rpm/repository_file_uploader_spec.rb 45 个添加, 0 个删除spec/uploaders/packages/rpm/repository_file_uploader_spec.rb
加载中
想要评论请 注册 或 登录