pulp_2to3_migration_client 0.6.0.dev01605366806 → 0.7.0.dev01607916835
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: cd6aafff9b5d383384671725f88d3ef7703e6de15c20c87883385cc101937cd6
         | 
| 4 | 
            +
              data.tar.gz: 0eec8db1b79fbc70640a7256bb28a7e9435c0f85a2f24cc46734a7088f6c2633
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 06f2f451914164c3f83e964c67032066ed11559e59e442a66ea89f456bc480a92514f22a333e1b2b42428ce2272b5401a64598fdaf90151a1f7ba88c73166478
         | 
| 7 | 
            +
              data.tar.gz: 3abce3401a38cf122bdcf9daab0142099369bccdcfd23b668d75637c7b95cb5d087746c3e0d4e37ee0afbdad9a2cb31e2b71173f2eaf28589041d60cc4e8d78d
         | 
    
        data/README.md
    CHANGED
    
    | @@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages | |
| 7 7 | 
             
            This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
         | 
| 8 8 |  | 
| 9 9 | 
             
            - API version: v3
         | 
| 10 | 
            -
            - Package version: 0. | 
| 10 | 
            +
            - Package version: 0.7.0.dev01607916835
         | 
| 11 11 | 
             
            - Build package: org.openapitools.codegen.languages.RubyClientCodegen
         | 
| 12 12 | 
             
            For more information, please visit [https://pulpproject.org](https://pulpproject.org)
         | 
| 13 13 |  | 
| @@ -24,16 +24,16 @@ gem build pulp_2to3_migration_client.gemspec | |
| 24 24 | 
             
            Then either install the gem locally:
         | 
| 25 25 |  | 
| 26 26 | 
             
            ```shell
         | 
| 27 | 
            -
            gem install ./pulp_2to3_migration_client-0. | 
| 27 | 
            +
            gem install ./pulp_2to3_migration_client-0.7.0.dev01607916835.gem
         | 
| 28 28 | 
             
            ```
         | 
| 29 29 |  | 
| 30 | 
            -
            (for development, run `gem install --dev ./pulp_2to3_migration_client-0. | 
| 30 | 
            +
            (for development, run `gem install --dev ./pulp_2to3_migration_client-0.7.0.dev01607916835.gem` to install the development dependencies)
         | 
| 31 31 |  | 
| 32 32 | 
             
            or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
         | 
| 33 33 |  | 
| 34 34 | 
             
            Finally add this to the Gemfile:
         | 
| 35 35 |  | 
| 36 | 
            -
                gem 'pulp_2to3_migration_client', '~> 0. | 
| 36 | 
            +
                gem 'pulp_2to3_migration_client', '~> 0.7.0.dev01607916835'
         | 
| 37 37 |  | 
| 38 38 | 
             
            ### Install from Git
         | 
| 39 39 |  | 
    
        data/docs/MigrationPlanRun.md
    CHANGED
    
    | @@ -4,8 +4,9 @@ | |
| 4 4 |  | 
| 5 5 | 
             
            Name | Type | Description | Notes
         | 
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 | 
            -
            **validate** | **Boolean** | If ``True``, migration cannot happen without successful validation of the Migration Plan | [optional] [default to false]
         | 
| 7 | 
            +
            **validate** | **Boolean** | If ``True``, migration cannot happen without successful validation of the Migration Plan. | [optional] [default to false]
         | 
| 8 8 | 
             
            **dry_run** | **Boolean** | If ``True``, performs validation of a Migration Plan only, no migration is run. | [optional] [default to false]
         | 
| 9 | 
            +
            **skip_corrupted** | **Boolean** | If ``True``, skips corrupted or missing Pulp 2 content without causing a task failure. If you need this content, run a sync task in Pulp 3 for a repo of interest to bring any missing content back. Alternatively, repair it in Pulp 2and re-run the migration task. | [optional] [default to false]
         | 
| 9 10 |  | 
| 10 11 | 
             
            ## Code Sample
         | 
| 11 12 |  | 
| @@ -13,7 +14,8 @@ Name | Type | Description | Notes | |
| 13 14 | 
             
            require 'Pulp2to3MigrationClient'
         | 
| 14 15 |  | 
| 15 16 | 
             
            instance = Pulp2to3MigrationClient::MigrationPlanRun.new(validate: null,
         | 
| 16 | 
            -
                                             dry_run: null | 
| 17 | 
            +
                                             dry_run: null,
         | 
| 18 | 
            +
                                             skip_corrupted: null)
         | 
| 17 19 | 
             
            ```
         | 
| 18 20 |  | 
| 19 21 |  | 
| @@ -15,17 +15,21 @@ require 'date' | |
| 15 15 | 
             
            module Pulp2to3MigrationClient
         | 
| 16 16 | 
             
              # A serializer for running a migration plan.
         | 
| 17 17 | 
             
              class MigrationPlanRun
         | 
| 18 | 
            -
                # If ``True``, migration cannot happen without successful validation of the Migration Plan
         | 
| 18 | 
            +
                # If ``True``, migration cannot happen without successful validation of the Migration Plan.
         | 
| 19 19 | 
             
                attr_accessor :validate
         | 
| 20 20 |  | 
| 21 21 | 
             
                # If ``True``, performs validation of a Migration Plan only, no migration is run.
         | 
| 22 22 | 
             
                attr_accessor :dry_run
         | 
| 23 23 |  | 
| 24 | 
            +
                # If ``True``, skips corrupted or missing Pulp 2 content without causing a task failure. If you need this content, run a sync task in Pulp 3 for a repo of interest to bring any missing content back. Alternatively, repair it in Pulp 2and re-run the migration task.
         | 
| 25 | 
            +
                attr_accessor :skip_corrupted
         | 
| 26 | 
            +
             | 
| 24 27 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 25 28 | 
             
                def self.attribute_map
         | 
| 26 29 | 
             
                  {
         | 
| 27 30 | 
             
                    :'validate' => :'validate',
         | 
| 28 | 
            -
                    :'dry_run' => :'dry_run'
         | 
| 31 | 
            +
                    :'dry_run' => :'dry_run',
         | 
| 32 | 
            +
                    :'skip_corrupted' => :'skip_corrupted'
         | 
| 29 33 | 
             
                  }
         | 
| 30 34 | 
             
                end
         | 
| 31 35 |  | 
| @@ -33,7 +37,8 @@ module Pulp2to3MigrationClient | |
| 33 37 | 
             
                def self.openapi_types
         | 
| 34 38 | 
             
                  {
         | 
| 35 39 | 
             
                    :'validate' => :'Boolean',
         | 
| 36 | 
            -
                    :'dry_run' => :'Boolean'
         | 
| 40 | 
            +
                    :'dry_run' => :'Boolean',
         | 
| 41 | 
            +
                    :'skip_corrupted' => :'Boolean'
         | 
| 37 42 | 
             
                  }
         | 
| 38 43 | 
             
                end
         | 
| 39 44 |  | 
| @@ -69,6 +74,12 @@ module Pulp2to3MigrationClient | |
| 69 74 | 
             
                  else
         | 
| 70 75 | 
             
                    self.dry_run = false
         | 
| 71 76 | 
             
                  end
         | 
| 77 | 
            +
             | 
| 78 | 
            +
                  if attributes.key?(:'skip_corrupted')
         | 
| 79 | 
            +
                    self.skip_corrupted = attributes[:'skip_corrupted']
         | 
| 80 | 
            +
                  else
         | 
| 81 | 
            +
                    self.skip_corrupted = false
         | 
| 82 | 
            +
                  end
         | 
| 72 83 | 
             
                end
         | 
| 73 84 |  | 
| 74 85 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -90,7 +101,8 @@ module Pulp2to3MigrationClient | |
| 90 101 | 
             
                  return true if self.equal?(o)
         | 
| 91 102 | 
             
                  self.class == o.class &&
         | 
| 92 103 | 
             
                      validate == o.validate &&
         | 
| 93 | 
            -
                      dry_run == o.dry_run
         | 
| 104 | 
            +
                      dry_run == o.dry_run &&
         | 
| 105 | 
            +
                      skip_corrupted == o.skip_corrupted
         | 
| 94 106 | 
             
                end
         | 
| 95 107 |  | 
| 96 108 | 
             
                # @see the `==` method
         | 
| @@ -102,7 +114,7 @@ module Pulp2to3MigrationClient | |
| 102 114 | 
             
                # Calculates hash code according to all attributes.
         | 
| 103 115 | 
             
                # @return [Integer] Hash code
         | 
| 104 116 | 
             
                def hash
         | 
| 105 | 
            -
                  [validate, dry_run].hash
         | 
| 117 | 
            +
                  [validate, dry_run, skip_corrupted].hash
         | 
| 106 118 | 
             
                end
         | 
| 107 119 |  | 
| 108 120 | 
             
                # Builds the object from hash
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: pulp_2to3_migration_client
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.7.0.dev01607916835
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OpenAPI-Generator
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-12-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| @@ -139,23 +139,23 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 139 139 | 
             
                - !ruby/object:Gem::Version
         | 
| 140 140 | 
             
                  version: 1.3.1
         | 
| 141 141 | 
             
            requirements: []
         | 
| 142 | 
            -
            rubygems_version: 3.0. | 
| 142 | 
            +
            rubygems_version: 3.0.3
         | 
| 143 143 | 
             
            signing_key: 
         | 
| 144 144 | 
             
            specification_version: 4
         | 
| 145 145 | 
             
            summary: Pulp 3 API Ruby Gem
         | 
| 146 146 | 
             
            test_files:
         | 
| 147 | 
            -
            - spec/api/migration_plans_api_spec.rb
         | 
| 148 147 | 
             
            - spec/api/pulp2_content_api_spec.rb
         | 
| 149 148 | 
             
            - spec/api/pulp2_repositories_api_spec.rb
         | 
| 149 | 
            +
            - spec/api/migration_plans_api_spec.rb
         | 
| 150 150 | 
             
            - spec/api_client_spec.rb
         | 
| 151 151 | 
             
            - spec/configuration_spec.rb
         | 
| 152 152 | 
             
            - spec/models/pulp2to3_migration_migration_plan_spec.rb
         | 
| 153 | 
            -
            - spec/models/async_operation_response_spec.rb
         | 
| 154 | 
            -
            - spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
         | 
| 155 | 
            -
            - spec/models/pulp2to3_migration_migration_plan_response_spec.rb
         | 
| 156 | 
            -
            - spec/models/migration_plan_run_spec.rb
         | 
| 157 153 | 
             
            - spec/models/paginatedpulp2to3_migration_pulp2_content_response_list_spec.rb
         | 
| 154 | 
            +
            - spec/models/paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb
         | 
| 155 | 
            +
            - spec/models/migration_plan_run_spec.rb
         | 
| 156 | 
            +
            - spec/models/pulp2to3_migration_migration_plan_response_spec.rb
         | 
| 158 157 | 
             
            - spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
         | 
| 158 | 
            +
            - spec/models/async_operation_response_spec.rb
         | 
| 159 | 
            +
            - spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
         | 
| 159 160 | 
             
            - spec/models/paginatedpulp2to3_migration_migration_plan_response_list_spec.rb
         | 
| 160 | 
            -
            - spec/models/paginatedpulp2to3_migration_pulp2_repository_response_list_spec.rb
         | 
| 161 161 | 
             
            - spec/spec_helper.rb
         |