示例#1
0
def io_fsq_publication_metadata(description):
    return OSSRHPublicationMetadata(
        description=description,
        url='http://github.com/foursquare/fsqio',
        licenses=[
            License(name='Apache License, Version 2.0',
                    url='http://www.apache.org/licenses/LICENSE-2.0')
        ],
        developers=[
            Developer(name='Fsq.io, OSS projects from Foursquare.',
                      url='https://github.com/foursquare/fsqio')
        ],
        scm=Scm.github(user='******', repo='fsqio'))
示例#2
0
def org_pantsbuild_publication_metadata(description):
    return OSSRHPublicationMetadata(
        description=description,
        url='https://github.com/ActionIQ-OSS',
        licenses=[
            License(name='Apache License, Version 2.0',
                    url='http://www.apache.org/licenses/LICENSE-2.0')
        ],
        developers=[
            Developer(name='Larry Finn',
                      email='*****@*****.**',
                      url='https://github.com/ActionIQ-OSS')
        ],
    )
示例#3
0
def com_thesamet_publication_metadata(description):
    return OSSRHPublicationMetadata(
        description=description,
        url='https://github.com/thesamet/play-pants',
        licenses=[
            License(name='Apache License, Version 2.0',
                    url='http://www.apache.org/licenses/LICENSE-2.0')
        ],
        developers=[
            Developer(name='Nadav Sr. Samet',
                      email='*****@*****.**',
                      url='https://github.com/thesamet/play-pants')
        ],
        scm=Scm.github(user='******', repo='play-pants'))
示例#4
0
def org_pantsbuild_publication_metadata(description):
    return OSSRHPublicationMetadata(
        description=description,
        url='http://pantsbuild.github.io/',
        licenses=[
            License(name='Apache License, Version 2.0',
                    url='http://www.apache.org/licenses/LICENSE-2.0')
        ],
        developers=[
            Developer(name='The pants developers',
                      email='*****@*****.**',
                      url='https://github.com/pantsbuild/pants')
        ],
        scm=Scm.github(user='******', repo='pants'))
示例#5
0
def org_pantsbuild_publication_metadata(description):
    return OSSRHPublicationMetadata(
        description=description,
        url="http://pantsbuild.github.io/",
        licenses=[
            License(name="Apache License, Version 2.0",
                    url="http://www.apache.org/licenses/LICENSE-2.0")
        ],
        developers=[
            Developer(
                name="The pants developers",
                email="*****@*****.**",
                url="https://github.com/pantsbuild/pants",
            )
        ],
        scm=Scm.github(user="******", repo="pants"),
    )
示例#6
0
from pants.backend.jvm.ossrh_publication_metadata import (
    Developer, License, OSSRHPublicationMetadata, Scm)

import os

repository = Repository(name='public',
                        url='https://oss.sonatype.org/#stagingRepositories',
                        push_db_basedir=os.path.join('build-support', 'ivy',
                                                     'pushdb'))

metadata = OSSRHPublicationMetadata(
    description='Reinventing database transactions',
    url='https://github.com/ashwin153/caustic',
    licenses=[
        License(name='Apache License, Version 2.0',
                url='http://www.apache.org/licenses/LICENSE-2.0')
    ],
    developers=[
        Developer(name='Ashwin Madavan',
                  email='*****@*****.**',
                  url='https://madavan.me')
    ],
    scm=Scm.github(user='******', repo='caustic'))


def build_file_aliases():
    return BuildFileAliases(objects={
        'public': repository,
        'describe': metadata,
    })