packit / dist-git-to-source-git

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

source-git as a single commit repo #96

Closed TomasTomecek closed 3 years ago

TomasTomecek commented 3 years ago
create a single-commit source-git from very hard packages

This is simple: we now have a static list of packages
VERY_VERY_HARD_PACKAGES which are "very very hard" and don't pass our
magic %prep expansion.   

The solution is to run %prep the same way (to benefit from packitpatch),
discard the generated .git repo and then create a repo (or an update)
with just a single commit: all source and patches copied.

It's pretty ugly (patch files copied, not as commits) but it's the best
we can: some repo > no repo

TODO:

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

Build succeeded.

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 failed.

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 succeeded.

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

Build succeeded.

lachmanfrantisek commented 3 years ago
* [dist2src-tests ](https://softwarefactory-project.io/zuul/t/packit-service/build/480ca34e1624438e834d4d9f13a607df) : SUCCESS in 36m 58s

Wow, I was fighting with the limit a lot..;)

What about having some bigger set or mock build for gate pipeline?

TomasTomecek commented 3 years ago
* [dist2src-tests ](https://softwarefactory-project.io/zuul/t/packit-service/build/480ca34e1624438e834d4d9f13a607df) : SUCCESS in 36m 58s

Wow, I was fighting with the limit a lot..;)

What about having some bigger set or mock build for gate pipeline?

That's definitely a good idea! Though we don't really need to do the whole build, just create a srpm with packit and then do %prep with that srpm to make sure patches are applied correctly and all the %prep commands exit well

I worry that doing complete builds would take hours.

lachmanfrantisek commented 3 years ago

I worry that doing complete builds would take hours.

The 30 minutes limit stops me to do that last time..;)

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

Build succeeded.

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

Build succeeded (gate pipeline).