On Mon, Sep 23, 2019 at 7:04 PM Chris Palmer <ch...@crpalmer.com> wrote:
>
> Is there a reason why we can't use symlinks to have copies of the files
> show up in both subpackages? So that `gcs_to_s3.py` would be under both
> `aws/operators/` and `gcp/operators`. I could imagine there may be
> technical reasons why this is a bad idea, but just thought I would ask.
>
Symlinks is not supported by git.


> Likewise, someone who spends 99% of their time working in AWS and using all
> the operators in that subpackage, might not think to look in the GCP
> package the first time they need a GCS to S3 operator. I'm admittedly
> terrible at documentation, but if duplicating the files via symlinks isn't
> an option, then is there an easy way we could duplicate the documentation
> for those operators so they are easily findable in both doc sections?
>

Recently, I updated the documentation:
https://airflow.readthedocs.io/en/latest/integration.html
We have list of all integration in AWS, Azure, GCP.  If the operator
concerns two cloud proivders, it repeats in two places. It's good for
documentation.  DRY rule is only valid for source code.
I am working on documentation for other operators.
My work is part of this ticket:
https://issues.apache.org/jira/browse/AIRFLOW-5431




>
>
> On Sun, Sep 22, 2019 at 7:57 AM Driesprong, Fokko <fo...@driesprong.frl>
> wrote:
>
> > I'm not really in favor of the cross_transfer package. It sounds really
> > technical, and if you're new to the project, I would not know what to
> > expect in this package.
> >
> > We had something related in the past with Kubernetes, we solved like this:
> >
> > https://github.com/apache/airflow/blob/master/airflow/contrib/example_dags/example_kubernetes_operator.py#L66-L69
> >
> > But this isn't really nice of course. When doing the initdb the examples
> > shouldn't be loaded in my opinion, this would solve the whole issue.
> >
> > WDYT?
> >
> > Cheers, Fokko
> >
> > Op za 21 sep. 2019 om 22:53 schreef Tomasz Urbaszek <
> > tomasz.urbas...@polidea.com>:
> >
> > > I also think that transfer operators should be put in origin package.
> > Maybe
> > > it is also worth to consider to make import available  in “destination”
> > for
> > > example by import? This would make it easier for user to find a right
> > > operator.
> > >
> > > T.
> > >
> > >
> > > On Sat, 21 Sep 2019 at 22:04, Felix Uellendall <felue...@pm.me.invalid>
> > > wrote:
> > >
> > > > In my opinion the source of the transfer operation is what matters -
> > > > without knowing the source you don‘t need to know where it can be
> > > > transferred to.
> > > >
> > > > So I prefer to put those „cross transfer“ operators to its source. For
> > > > example: GoogleApiToS3 -> gcp
> > > >
> > > > Best Regards,
> > > > Felix
> > > >
> > > > Sent from ProtonMail Mobile
> > > >
> > > > On Sat, Sep 21, 2019 at 21:52, Jarek Potiuk <jarek.pot...@polidea.com>
> > > > wrote:
> > > >
> > > > > I have a question: Should we put all transfer operators between into
> > > > > separate "cross_transfer" package ?
> > > > >
> > > > > *Context:*
> > > > >
> > > > > We had one unresolved point when we decided about AIP-21 - where to
> > put
> > > > > transfer operators between service providers. In the middle of
> > > > implementing
> > > > > it, it turned out that we need to make some decisions as it has some
> > > > > undesirable side effects if we just move the transfer operators to
> > core
> > > > > without any structure. Detailed discussion in this PR:
> > > > > https://github.com/apache/airflow/pull/6147
> > > > >
> > > > > We can solve it easily by choosing "cross_transfer" package for all
> > > > > transfer operators that are crossing "service provider" boundary.
> > > > >
> > > > > This way we will have "gcp" (or maybe even "alphabet" soon), "aws",
> > > > "azure"
> > > > > etc. and "cross_transfer" for all the S3->GCP, AWS->S3 etc.
> > > > >
> > > > > What do you think? Anyone strongly against this? Or maybe we can
> > follow
> > > > > lazy consensus rule for this? Or maybe someone can come up with a
> > > better
> > > > > name :) ?
> > > > >
> > > > > J.
> > > > >
> > > > > --
> > > > >
> > > > > Jarek Potiuk
> > > > > Polidea <https://www.polidea.com/> | Principal Software Engineer
> > > > >
> > > > > M: +48 660 796 129 <+48660796129>
> > > > > [image: Polidea] <https://www.polidea.com/>
> > >
> > > --
> > >
> > > Tomasz Urbaszek
> > > Polidea <https://www.polidea.com/> | Junior Software Engineer
> > >
> > > M: +48 505 628 493 <+48505628493>
> > > E: tomasz.urbas...@polidea.com <tomasz.urbasz...@polidea.com>
> > >
> > > Unique Tech
> > > Check out our projects! <https://www.polidea.com/our-work>
> > >
> >

Reply via email to