You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But on diagram we get single package package/games that references itself which is wrong.
Basically graphwerk combined both app/games and spec/games package into single package: package/games
the only deprecated_references.yml file is under root:
sportsball/deprecated_references.yml
# This file contains a list of dependencies that are not part of the long term plan for ..
# We should generally work to reduce this list, but not at the expense of actually getting work done.
#
# You can regenerate this file using the following command:
#
# bin/packwerk update-deprecations .
---
app/packages/games:
"::Game":
violations:
- dependency
files:
- spec/support/object_creation_methods.rb
app/packages/teams:
"::Team":
violations:
- dependency
files:
- spec/support/object_creation_methods.rb
Graphwerk result of running: bundle exec rake graphwerk:update
Pocky result of running: rake pocky:generate"[root]"
The text was updated successfully, but these errors were encountered:
dmitri-minkin
changed the title
Graph combines test and app packages into single package in the graph
Graph combines test and app packages into a single package
Jul 20, 2022
Graphwerk combines both app/games and spec/games package into single package: package/games.
I used the same directory structure and ran both graphwerk and pocky on the same folder which gave different results.
I think graphwerk has a bug.
Directory structure:
Notice that test (spec) package depends on the appropriate app package, that is spec/games depends on app/games:
in sportsball/spec/packages/games/package.yml :
But on diagram we get single package package/games that references itself which is wrong.
Basically graphwerk combined both app/games and spec/games package into single package: package/games
Additional info
in sportsball/app/packages/games/package.yml :
the only deprecated_references.yml file is under root:
sportsball/deprecated_references.yml
Graphwerk result of running:
bundle exec rake graphwerk:update
Pocky result of running:

rake pocky:generate"[root]"
The text was updated successfully, but these errors were encountered: