• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 6595
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: feat/add-experimental-uv-pex-builder
DEFAULT BRANCH: main
Ran 01 Sep 2015 09:57PM UTC
Jobs 10
Files 383
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6595

push

travis-ci

baroquebobcat
[classpath products] introduce ResolvedJar and M2Coordinate and use them for improved exclude handling

This change removes a TODO around exclude matching where we were using string contents comparisons. Now, we compare org and name as opaque values as pulled from the excludes defined on targets.
It also moves towards the refactoring described in [1], since this is a clear place where that could be used effectively. My thought is that by stepping into this in a constrained way, we can start migrating towards a model that looks like that internally. It should also make it easier make the next step.

* pants.backend.jvm.jar_dependency_utils contains ResolvedJar and M2Coordinate
* ivy_utils is updated to return ResolvedJars instead of IvyModules
* ivy_utils will also throw an error if there are multiple org:name#classifier tuples associated with an artifact
* ClasspathProducts now has add_jars_for_target / add_jars_for_targets that accepts ResolvedJars
* ivy_resolve patches up the ResolvedJars with the symlink mappings for them after they've been resolved

The new behavior in this transitional place is that excludes are not applied to non-resolved path elements anymore. I think this is probably a good thing, since those tend to be either class directories, or other classpath entries not managed by resolve.

Follow on work

* improve excludes behavior generally. I'm working on this next, as there are cases in our repo where the current behavior is tricky to understand and apply correctly. I'll be posting a doc about it soon.
* step into consolidating ivy conf usages so that they can be removed safely
* clean up usages of adding string based elements to classpaths. (I didn't do it with this commit, because there's a large number of tests that would be affected in ways that would obscure things)

1. https://docs.google.com/document/d/1sEMXUmj7v-YCBZ_wHLpCFjkHOeWjsc1NR1hRIJ9uCZ8/edit#heading=h.8mden3kdj1co

Testing Done:
passing CI https://github.com/pantsbuild/pants/pull/2007. I also did some smoke testing against our internal repo.

Bugs closed: 2007

Reviewed at https://rbcommons.com/s/twitter/r/2654/

17146 of 22820 relevant lines covered (75.14%)

1.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6595.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 01 Sep 2015 09:57PM UTC 0
Travis Job 6595.1
2 6595.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 01 Sep 2015 09:58PM UTC 0
71.22
Travis Job 6595.2
3 6595.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 01 Sep 2015 09:58PM UTC 0
70.29
Travis Job 6595.3
4 6595.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 01 Sep 2015 09:58PM UTC 0
Travis Job 6595.4
5 6595.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 01 Sep 2015 09:57PM UTC 0
Travis Job 6595.5
6 6595.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 01 Sep 2015 10:05PM UTC 0
Travis Job 6595.6
7 6595.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 01 Sep 2015 10:05PM UTC 0
Travis Job 6595.7
8 6595.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 01 Sep 2015 10:05PM UTC 0
Travis Job 6595.8
9 6595.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 01 Sep 2015 10:04PM UTC 0
Travis Job 6595.9
10 6595.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 01 Sep 2015 10:04PM UTC 0
Travis Job 6595.10
Source Files on build 6595
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6595
  • 3a93428e on github
  • Prev Build on master (#6591)
  • Next Build on master (#6597)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc