Skip to content

Commit

Permalink
Rename the project
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Apr 23, 2020
1 parent 960f054 commit 21b55b6
Show file tree
Hide file tree
Showing 293 changed files with 630 additions and 630 deletions.
4 changes: 2 additions & 2 deletions .env
Expand Up @@ -2,6 +2,6 @@ AWS_PROFILE=default
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_S3_BUCKET_DEPLOY=fxp-satis-serverless
AWS_STACK_NAME=FxpSatisServerless
AWS_S3_BUCKET_DEPLOY=tug-dev
AWS_STACK_NAME=Tug
LOGGER_LEVEL=error
18 changes: 9 additions & 9 deletions README.md
@@ -1,10 +1,10 @@
Fxp Satis Serverless
====================
Tug
===

[![Image of CloudFormation Launch Stack](doc/images/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=FxpSatisServerless&templateURL=https://fxp-satis-serverless.s3.amazonaws.com/latest.template)
[![Build Status](https://travis-ci.org/fxpio/satis-serverless.svg?branch=master)](https://travis-ci.org/fxpio/satis-serverless)
[![Image of CloudFormation Launch Stack](doc/images/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=Tug&templateURL=https://tug-dev.s3.amazonaws.com/latest.template)
[![Build Status](https://travis-ci.org/fxpio/tug.svg?branch=master)](https://travis-ci.org/fxpio/tug)

The Fxp Satis Serverless is a Composer private repository for private PHP packages installable with
Tug is a Composer private repository for private PHP packages installable with
[Composer](http://getcomposer.org). The main idea of this project is to have an intermediary between
the management of its own server Packagist, or the use of a third party service, and the simple static
packages generator like Satis. That is, do not be worried about updating package versions and SHA1s of
Expand Down Expand Up @@ -84,7 +84,7 @@ file in this project:

The latest version of the AWS CloudFormation Stack is to this url:

https://fxp-satis-serverless.s3.amazonaws.com/latest.template
https://tug-dev.s3.amazonaws.com/latest.template

Installation
------------
Expand All @@ -101,10 +101,10 @@ This project is under the MIT license. See the complete license in the bundle:
About
-----

Fxp Satis Serverless is a [François Pluchino](https://github.com/francoispluchino) initiative.
See also the list of [contributors](https://github.com/fxpio/fxp-satis-serverless/graphs/contributors).
Tug is a [François Pluchino](https://github.com/francoispluchino) initiative.
See also the list of [contributors](https://github.com/fxpio/tug/graphs/contributors).

Reporting an issue or a feature request
---------------------------------------

Issues and feature requests are tracked in the [Github issue tracker](https://github.com/fxpio/fxp-satis-serverless/issues).
Issues and feature requests are tracked in the [Github issue tracker](https://github.com/fxpio/tug/issues).
12 changes: 6 additions & 6 deletions aws/cloud-formation-stack.yaml
@@ -1,6 +1,6 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Serverless Composer repository for private PHP packages
Description: Private Composer registry for private PHP packages on AWS Serverless

Parameters:
LoggerLevel:
Expand All @@ -14,15 +14,15 @@ Parameters:
- verbose
ConstraintDescription: Must be "error", "warn", "info" or "verbose"

SatisServerlessVersion:
Description: The version defined by the tag name in the Releases page (https://github.com/fxpio/satis-serverless/releases)
TugVersion:
Description: The version defined by the tag name in the Releases page (https://github.com/fxpio/tug/releases)
Type: String
Default: {S3_LAMBDA_CODE_VERSION}

Resources:
Endpoint:
Type: AWS::Serverless::Api
Description: Endpoint of Satis Serverless
Description: Endpoint of Tug
Properties:
StageName: prod
DefinitionBody:
Expand Down Expand Up @@ -158,7 +158,7 @@ Resources:
Server:
Type: AWS::Serverless::Function
Properties:
Description: Logic of Satis Serverless
Description: Logic of Tug
Runtime: nodejs12.x
Handler: server.handler
CodeUri:
Expand All @@ -167,7 +167,7 @@ Resources:
Fn::Join:
- ''
- - 'builds/'
- Ref: SatisServerlessVersion
- Ref: TugVersion
- '.zip'
Timeout: 30
MemorySize: 1024
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
@@ -1,5 +1,5 @@
/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
2 changes: 1 addition & 1 deletion bin/build.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
4 changes: 2 additions & 2 deletions bin/config.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -23,7 +23,7 @@ let envs = utils.mergeVariables(utils.readEnvVariables(ENV_DIST_PATH), utils.rea
let initialEnvs = Object.assign({}, envs);

program
.description('Configure your Satis Serverless')
.description('Configure your Tug')
.option('--aws-profile <name>', 'The profile name of AWS shared file (to configure automatically the credentials)', envs['AWS_PROFILE'])
.option('--aws-access-key-id <key>', 'Your AWS Access Key ID (required if AWS Shared Credentials File is not found)', envs['AWS_ACCESS_KEY_ID'])
.option('--aws-secret-access-key <secret>', 'Your AWS Secret Access Key (required if AWS Shared Credentials File is not found)', envs['AWS_SECRET_ACCESS_KEY'])
Expand Down
4 changes: 2 additions & 2 deletions bin/create-api-key.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Create or generate a API key')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-t, --token <token>', 'Your API key, if empty a key will be generated')
.parse(process.argv);

Expand Down
2 changes: 1 addition & 1 deletion bin/create-bucket.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
4 changes: 2 additions & 2 deletions bin/create-github-oauth.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -22,7 +22,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Create or generate a token for Github Oauth')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-t, --token <token>', 'Your Github personal token')
.option('-h, --host <host>', 'Your Github Enterprise host, if empty the host "github.com" is used')
.parse(process.argv);
Expand Down
4 changes: 2 additions & 2 deletions bin/create-github-token.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -22,7 +22,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Create or generate a token for Github Webhooks')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-t, --token <token>', 'Your token, if empty a key will be generated')
.option('-h, --host <host>', 'Your Github Enterprise host, if empty the host "github.com" is used')
.parse(process.argv);
Expand Down
2 changes: 1 addition & 1 deletion bin/deconfig.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
4 changes: 2 additions & 2 deletions bin/delete-api-key.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Delete a API key')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-t, --token <token>', 'The API key')
.parse(process.argv);

Expand Down
2 changes: 1 addition & 1 deletion bin/delete-bucket.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
4 changes: 2 additions & 2 deletions bin/delete-github-oauth.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Delete the token for Github Oauth')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-h, --host <host>', 'Your Github Enterprise host, if empty the host "github.com" is used')
.parse(process.argv);

Expand Down
4 changes: 2 additions & 2 deletions bin/delete-github-token.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Delete the token for Github Webhooks')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-h, --host <host>', 'Your Github Enterprise host, if empty the host "github.com" is used')
.parse(process.argv);

Expand Down
4 changes: 2 additions & 2 deletions bin/delete-packages.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Delete the versions of package')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-u, --url <url>', 'The repository URL')
.option('-n, --version <version>', 'The specific version, or empty to delete all versions')
.parse(process.argv);
Expand Down
2 changes: 1 addition & 1 deletion bin/delete-stack.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
2 changes: 1 addition & 1 deletion bin/deploy.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
4 changes: 2 additions & 2 deletions bin/disable-repo.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Disable the Github repository')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-u, --url <url>', 'The repository URL')
.parse(process.argv);

Expand Down
4 changes: 2 additions & 2 deletions bin/enable-repo.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Enable the Github repository')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-u, --url <url>', 'The repository URL')
.option('-t, --type <type>', 'The repository VCS type')
.parse(process.argv);
Expand Down
2 changes: 1 addition & 1 deletion bin/encode-queue-event.js
@@ -1,5 +1,5 @@
/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
2 changes: 1 addition & 1 deletion bin/package-deploy.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
2 changes: 1 addition & 1 deletion bin/package.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand Down
4 changes: 2 additions & 2 deletions bin/refresh-cache.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Refresh the cache of packages')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-u, --url <url>', 'The repository URL, or empty to refresh all repositories')
.parse(process.argv);

Expand Down
4 changes: 2 additions & 2 deletions bin/refresh-packages.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node

/*
* This file is part of the Fxp Satis Serverless package.
* This file is part of the Tug package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
Expand All @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders;

program
.description('Refresh the versions of package')
.option('-e, --endpoint <url>', 'Define the endpoint of Satis Serverless API (use for local dev)', false)
.option('-e, --endpoint <url>', 'Define the endpoint of Tug API (use for local dev)', false)
.option('-u, --url <url>', 'The repository URL, or empty to refresh all repositories')
.option('-n, --version <version>', 'The specific version, or empty to refresh all versions')
.option('-f, --force', 'Check if the package must be actualized even if it exists')
Expand Down

0 comments on commit 21b55b6

Please sign in to comment.