question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building file should be more atomic

See original GitHub issue

Hi,

Description

.buildingX.X.X file should be more atomic in determining a package’s viability for resolution. We feel that the existence of this file should prevent Rez from resolving a package, even if the package.py exists. The reason for this is that if Rez didn’t get to the step where it removes this file, then something failed - and if something failed, we probably don’t want that package to go into production.

Steps to Reproduce

  1. Build a package.
  2. Leave the package.py file in place.
  3. Create an empty .buildingX.X.X file in the package family folder with the X.X.X representing the version.
  4. Resolve an environment with this package and version. The resolution points to the built package.

Desired Result

If the .buildingX.X.X file is found, no additional steps should be done to attempt to resolve the package.

Additional

We’re thinking about patching this in our local fork, and if you decide that you agree with this change, I’d be happy to push the changes upstream, but I’m sure we’ll need more discussion about that.

So with this recent discussion happening on the Rez Google Group, we have begun re-evaluating our package syncing solution between our facilities, as we believed the existence of the file would indicate what was described above. Now we are looking at either going with a solution similar to Alexandra’s where our sync agent copies the package.py as a separate job after the package has been synced, or we’re looking at patching our local fork.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
skralcommented, Aug 29, 2017

Added the functionality of an .ignore file and opened a PR #453

1reaction
instinct-vfxcommented, Jul 13, 2017

After thinking about it a little i was wondering if it also may make sense to go for a more generic name for the file like .ignoreX.X.X as it seems that one of the main use cases besides releasing is syncing rather than building.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to organize your components using the Atomic Design
Like chemistry, you can organize your components in atoms, molecules and organisms. In addition there are also templates and pages, but I won't ......
Read more >
Building Design Systems with Atomic Design | by Igor Syvets
In this article, I would like to share our experience working with the atomic approach. We'll take a look at the advantages of...
Read more >
Everything You Need To Know About Atomic Design - Bootcamp
Since it was proposed in 2016, Atomic Design has grown into a core UI design methodology. Learn how to apply it to your...
Read more >
Project Architecture: Atomic Design | by Marco Ferreira | Medium
As I mentioned, it takes cues from chemistry. Atomic elements combined together to form molecules. These molecules can combine further to form  ......
Read more >
Atomic Design - Your Ultimate Guide to Scalable & Modular ...
Building of a site with atomic approach involves the use of predefined components such as atoms and molecules. Direct results of this is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found