packit / dist-git-to-source-git

Converting dist-git to source-git
MIT License
4 stars 9 forks source link

updates: correctly lay new commits on top of old #120

Closed TomasTomecek closed 3 years ago

TomasTomecek commented 3 years ago

there are multiple fixes here:

Fixes #117

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

TomasTomecek commented 3 years ago

recheck Sample test failure:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/packit/api.py", line 490, in create_srpm
    self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref)
  File "/usr/local/lib/python3.6/site-packages/packit/upstream.py", line 681, in prepare_upstream_for_srpm_creation
    self.prepare_upstream_using_source_git(upstream_ref)
  File "/usr/local/lib/python3.6/site-packages/packit/upstream.py", line 727, in prepare_upstream_using_source_git
    self.create_patches_and_update_specfile(upstream_ref)
  File "/usr/local/lib/python3.6/site-packages/packit/upstream.py", line 750, in create_patches_and_update_specfile
    upstream=upstream_ref, destination=str(self.absolute_specfile_dir)
  File "/usr/local/lib/python3.6/site-packages/packit/upstream.py", line 229, in create_patches
    return pg.create_patches(upstream, destination, files_to_ignore=files_to_ignore)
  File "/usr/local/lib/python3.6/site-packages/packit/patches.py", line 459, in create_patches
    patch_list = self.process_git_am_style_patches(patch_list)
  File "/usr/local/lib/python3.6/site-packages/packit/patches.py", line 397, in process_git_am_style_patches
    top_commit = patch_list[-1]
IndexError: list index out of range

We need packit 0.20 or packit/packit#1000

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

TomasTomecek commented 3 years ago

recheck I just don't understand the timeout - some tests take ~5 minutes (!) to complete. They run just fine for me locally.

Trying recheck today before I start digging deeper.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

TomasTomecek commented 3 years ago
fatal: unable to access 'https://git.stg.centos.org/source-git/upower.git/': Failed to connect to git.stg.centos.org port 443: Connection timed out

@_@

TomasTomecek commented 3 years ago

recheck

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

TomasTomecek commented 3 years ago

recheck

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build succeeded.

softwarefactory-project-zuul[bot] commented 3 years ago

Build succeeded (gate pipeline).

TomasTomecek commented 3 years ago

This is how I feel like right now \o/