[ 
https://issues.apache.org/jira/browse/BEAM-3608?focusedWorklogId=109493&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-109493
 ]

ASF GitHub Bot logged work on BEAM-3608:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jun/18 17:26
            Start Date: 06/Jun/18 17:26
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on issue #5570: [BEAM-3608] 
Pre-shade Guava
URL: https://github.com/apache/beam/pull/5570#issuecomment-395149101
 
 
   Do you plan to perform a mass migration so we aren't shading anything (or 
almost everything)?
   Otherwise the publishing path is very relevant.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 109493)
    Time Spent: 1.5h  (was: 1h 20m)

> Pre-shade Guava for things we want to keep using
> ------------------------------------------------
>
>                 Key: BEAM-3608
>                 URL: https://issues.apache.org/jira/browse/BEAM-3608
>             Project: Beam
>          Issue Type: Sub-task
>          Components: runner-core, sdk-java-core
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Instead of shading as part of our build, we can shade before build so that it 
> is apparent when reading code, and in IDEs, that a particular class resides 
> in a hidden namespace.
> {{import com.google.common.reflect.TypeToken}}
> becomes something like
> {{import org.apache.beam.private.guava21.com.google.common.reflect.TypeToken}}
> So we can very trivially ban `org.apache.beam.private` from public APIs 
> unless they are annotated {{@Internal}}, and it makes sharing between our own 
> modules never get broken by shading again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to