Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rakesh.gectcr created an issue. See original summary.

rakesh.gectcr’s picture

Status: Active » Needs review
FileSize
1021 bytes
TR’s picture

I'd rather not. We don't have any external dependencies that require composer, and hopefully we won't in the future either.

TR’s picture

Status: Needs review » Needs work

Also, you don't list the individual Ubercart modules, there's no newline at the end of the file, and IMO authors shouldn't be in there.

TR’s picture

Status: Needs work » Closed (won't fix)
splash112’s picture

Seems Drupal moved to use composer more and more. Maybe a moment to reconsider?
Attached a clean patch, sadly I could not figure out a way to test if it actually worked as designed.

TR’s picture

Status: Active » Needs work

Tests fail.

splash112’s picture

splash112’s picture

seems this was not as easy as I might have thought...

splash112’s picture

That misses the Rules dependency?

MilosR’s picture

splash112’s picture

Trying without the require-dev. Might be that the tests have already some rules integration that messed up things before?
@MilosR your version seems to be requiring the release version of some Ubercart module while tests are done against dev?

TR’s picture

The tests currently run green without the composer.json patch - the reason they're failing is because the proposed composer.json does not specify the same dependencies as the working .info.yml files.

uc_order is the only module that requires Rules, and it requires the current -dev version of Rules:
uc_order/uc_order.info.yml: - rules:rules (>8.x-3.x-alpha5)

splash112’s picture

Cool, thanks!

splash112’s picture

splash112’s picture

rakesh.gectcr’s picture