Skip to content

Commit

Permalink
fixup! Define initial dependency enforcement rules
Browse files Browse the repository at this point in the history
  • Loading branch information
zjs committed Sep 20, 2018
1 parent 6707223 commit a624c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/apiservers/engine/.godeps_rules
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
^lib/archive/*
^lib/config/*
^lib/constants/*
^lib/guest/*
^lib/imagec/*
^lib/iolog/*
^lib/metadata/*
Expand Down
5 changes: 2 additions & 3 deletions lib/apiservers/engine/backends/middleware/.godeps_rules
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
^lib/archive/*
^lib/config/*
^lib/constants/*
^lib/guest/*
^lib/imagec/*
^lib/iolog/*
^lib/metadata/*
Expand All @@ -31,11 +30,11 @@
# lib/system also depends on lib/etcconf
^lib/etcconf/*

# BAD: lib/portlayer/backends/middleware depends on lib/dns, which in turn
# BAD: lib/apiservers/engine/backends/middleware depends on lib/dns, which in turn
# depends on a variety of code from the portlayer
^lib/dns/*
^lib/portlayer/event/*
^lib/portlayer/exec/*
^lib/portlayer/network/*
^lib/portlayer/store/*

^lib/guest/*

0 comments on commit a624c1d

Please sign in to comment.