Skip to content

Commit

Permalink
chore: Splitting Drive & Photos app
Browse files Browse the repository at this point in the history
The Drive & Photos app were grouped together in the same repository
for historical reaseon. This commit splits them into two separate
repositories. The Photos app is now available in this repository.
In this commit, we mainly remove the Drive CI configuration.

Co-authored-by: zatteo <[email protected]>
  • Loading branch information
cballevre and zatteo committed Dec 8, 2023
1 parent 5d925ef commit b6bfe08
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 57 deletions.
20 changes: 7 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ node-preset: &node # Used internally to share configuration, ignored by travis.
- node_modules
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4
- export PATH="$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
- export PATH="$HOME/build/cozy/cozy-photos:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
branches:
only:
- master
Expand All @@ -37,12 +37,11 @@ jobs:
node_js:
- 20
script: yarn test
- &build-web
name: "Drive web"
- name: "Photos web"
stage: "build"
<<: *node
env:
- COZY_APP_SLUG=drive
- COZY_APP_SLUG=photos
before_script:
- yarn run cozy-ci-transifex
- scripts/decrypt.sh
Expand All @@ -54,7 +53,6 @@ jobs:
- yarn build:$COZY_APP_SLUG:browser
- echo -en 'travis_fold:end:build\\r'
- &downcloud-cert if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then eval "$(ssh-agent -s)" && chmod 600 /tmp/id_rsa_travis_downcloud && ssh-add /tmp/id_rsa_travis_downcloud; fi # Needs to be inlined and not in a script to work.
- if [ "${COZY_APP_SLUG}" == "drive" ]; then yarn bundlemon; fi
#- echo 'create and deploy' && echo -en 'travis_fold:start:createanddeploy\\r'
#- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./scripts/create-deploy-test.sh; fi
#- echo -en 'travis_fold:end:createanddeploy\\r'
Expand All @@ -66,28 +64,24 @@ jobs:
deploy:
- &deploy
provider: script
repo: cozy/cozy-drive
repo: cozy/cozy-photos
skip-cleanup: true
script: yarn run deploy:$COZY_APP_SLUG
on:
branch: master
- <<: *deploy
on:
tags: true
- <<: *build-web
name: "Photos web"
env:
- COZY_APP_SLUG=photos

env:
global:
- MATTERMOST_CHANNEL='{"dev":"appvengers","beta":"appvengers,publication","stable":"appvengers,publication"}'
- MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}'
- secure: OLcPuglkDbRd9Xf8WmPAlAWTmdXDb+SNVc7+WKQjIap5Ej58BBTtaAYR8kzFKSWmvWWSnvKmOYJfOHvWIOfkzlwhGLnk/xUnCCsjWmWNjOmnL5x74gCbfEgyU+rIwr2c4/hpzjcywTVBIhL4l/Bxjn+Op+NepKYMNTKko9qB7fA+nDglX/t3VObC9kEXwXElOOgLHNpbfQLEJxdEqXm8hVMmfjA/wSQnX96GqWhKWqMMPyjAxwkxYXFa04AgeTV3C8y4x7YxiuaE8cKZfi+DYX8DyV0XdBVKJTBKTGEaTbotewmXf7F+zsZ6Rg46HvQskSmckMqMKzZfGLFKsVELt6wyNVdVwptWXfu9o2FrXvvHj1krOltN5kQPKLwSmQH4RSlekQ+JYpRN4e+w4dNazILk1pAMu7+EqBTdH5khkDxeA1LAfFVuZz3QP1/fczF/PXSMsaQa779XXKf8dsEP5S8dHjpCOLSI506E+sWa/tu1mSZoaL+jGPovhiygsPUjbjqUmim3Dz+22y2E8jGrEeIdTEcoDXrvjcqwSNvs2LXlgOtgjxP47Fb3Enk18BUpVL2LMTmwF8FbglfKOTOFHHuhT/lQjtptT6NBu0tKi8fcJ/jj3patUj2kbqo85FYext/VrPN42uIXkDCxu9bEnyaGkBpl3qgD7F0J/gJSa10=
- secure: e7S5xeDOf5b18HEYMytTtFvy0GGtEq5KHc9eiydOXpWKhs1Lry/yOKPteJFN5fh6uHvlg02DCbANr2vvj0O8jn37eyudHowVsKJHXm4dEl9pe9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0sGZDUFPQhHJTBXdEb/WRj9BcnOoJY5/Or4QVDhdMkjpFxPMHk4zJSFh/QQPnRNpAZuMTSJTohoUopRg+f1kEnnlzoCfozLQ4JgDBkdZYQLE9HlEVnhxFY/vbQbggmSHuBloWvonec9zH0R0bc2ETAlt8= # RUNDECK_TOKEN
- secure: MUD/mY/nkwfRcZ6sE3Vp+vXspCgx6wjGMSmpgQCsJr+rfwsJnqukrY/NzlnzQAbh57cuJHDC6aXsQv156GneJkXf7/IQNgla20UnWs07xN2zHosRReTROqYy4vPdcRa2kZ1CZgXXQWWvkrhd//6KKjyHa3Bv0TlkD4EK19gffP8Nw/lmvZpvwrwmBl986QcyCTYE/5HS01dkWr4yvUKAQCPYeEySuDF9ISZ0qV2V1jdaJ2Hc0BZaGdYpYWctQCSwV6r7E+1r2OkeuWk1Zgs1zads89UHywy0dabfMxYDZhvm5EZ8OjZ2Sxb32mSxuy1jB61kqkFgvFNzu0BamCWf73zm1Z9qfjd3mlVd1cR+c2EkXIIMEW3o4ai+vzyBNNDFuICg7nuVeLE1F9a6w9qOGfwKF0zSyjwyIjLfGSClOqMv9IfVSFovPt1Gu4EgeOtATSRQQje3BUrqWe7HfaqeRegtWKReFWFNCgRBJ+ER05M1cGXOLYLjYMLEdOhvqqXv66bme7zTt6bf++Qpt98U8n8iwHiu4jHJ78kwP9MrNloAe6piwtX/2H9dPZ9Vebx9ZU0ytfndadXHDPeX7r4y/U1kbQ0J1ZQYl85iEB91+bkyY2JYFmr/qCuEGOT6Bz2A208RHAZ325kJh4uFkf4rNPZWnmPcht7frSbjLOBfphI= # TX_TOKEN
6 changes: 0 additions & 6 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
[main]
host = https://www.transifex.com

[o:cozy:p:cozy-drive:r:global]
file_filter = src/drive/locales/<lang>.json
source_file = src/drive/locales/en.json
source_lang = en
type = KEYVALUEJSON

[o:cozy:p:cozy-photos-v3:r:global]
file_filter = src/photos/locales/<lang>.json
source_file = src/photos/locales/en.json
Expand Down
66 changes: 33 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[![Travis build status shield](https://img.shields.io/travis/cozy/cozy-drive.svg?branch=master)](https://travis-ci.org/cozy/cozy-drive)
[![Github Release version shield](https://img.shields.io/github/tag/cozy/cozy-drive.svg)](https://github.com/cozy/cozy-drive/releases)
[![NPM Licence shield](https://img.shields.io/github/license/cozy/cozy-drive.svg)](https://github.com/cozy/cozy-drive/blob/master/LICENSE)
[![Travis build status shield](https://img.shields.io/travis/cozy/cozy-photos.svg?branch=master)](https://travis-ci.org/cozy/cozy-photos)
[![Github Release version shield](https://img.shields.io/github/tag/cozy/cozy-photos.svg)](https://github.com/cozy/cozy-photos/releases)
[![NPM Licence shield](https://img.shields.io/github/license/cozy/cozy-photos.svg)](https://github.com/cozy/cozy-photos/blob/master/LICENSE)


[Cozy] Drive
[Cozy] Photos
=====


Expand All @@ -15,10 +15,10 @@ What's Cozy?
[Cozy] is a platform that brings all your web services in the same private space. With it, your webapps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one's tracking you.


What's Drive?
What's photos?
----

Cozy Drive makes your file management easy. Main features are:
Cozy photos makes your file management easy. Main features are:

- File tree
- Files and folders upload.
Expand All @@ -33,39 +33,39 @@ _:pushpin: Note:_ [Yarn] is the official Node package manager of Cozy. Don't hes

### Install

Starting the Drive app requires you to [setup a dev environment][setup].
Starting the photos app requires you to [setup a dev environment][setup].

You can then clone the app repository and install dependencies:

```sh
$ git clone https://github.com/cozy/cozy-drive.git
$ cd cozy-drive
$ git clone https://github.com/cozy/cozy-photos.git
$ cd cozy-photos
$ yarn install
```

:pushpin: Don't forget to set the local node version indicated in the `.nvmrc` before doing a `yarn install`.

:warning: During its early ages, _cozy-drive_ uses beta versions of [cozy-ui] and [cozy-client-js], take a look at the ["living on the edge" note](#living-on-the-edge) below to know how to install and configure the latest available versions.
:warning: During its early ages, _cozy-photos_ uses beta versions of [cozy-ui] and [cozy-client-js], take a look at the ["living on the edge" note](#living-on-the-edge) below to know how to install and configure the latest available versions.

Cozy's apps use a standard set of _npm scripts_ to run common tasks, like watch, lint, test, build…

### Run in dev mode

Using a watcher - with Hot Module Replacement:
```sh
$ cd cozy-drive
$ yarn watch:drive:browser
$ cozy-stack serve --appdir drive:/<project_absolute_path>/cozy-drive/build/drive --disable-csp
$ cd cozy-photos
$ yarn watch:photos:browser
$ cozy-stack serve --appdir photos:/<project_absolute_path>/cozy-photos/build/photos --disable-csp
```

Or directly build the app (static file generated):
```sh
$ cd cozy-drive
$ yarn build:drive
$ cozy-stack serve --appdir drive:/<project_absolute_path>/cozy-drive/build/drive
$ cd cozy-photos
$ yarn build:photos
$ cozy-stack serve --appdir photos:/<project_absolute_path>/cozy-photos/build/photos
```

Your app is available at http://drive.cozy.localhost:8080/#/folder
Your app is available at http://photos.cozy.localhost:8080/#/folder

Note: it's mandatory to explicit to cozy-stack the folder of the build that should be served, to be able to run the app.

Expand All @@ -75,16 +75,16 @@ You can easily view your current running app, you can use the [cozy-stack docker

```sh
# in a terminal, run your app in watch mode
$ cd cozy-drive
$ yarn watch:drive:browser
$ cd cozy-photos
$ yarn watch:photos:browser
```

```sh
# in another terminal, run the docker container
$ docker run --rm -it -p 8080:8080 -v "$(pwd)/build/drive":/data/cozy-app/drive cozy/cozy-app-dev
$ docker run --rm -it -p 8080:8080 -v "$(pwd)/build/photos":/data/cozy-app/photos cozy/cozy-app-dev
```

Your app is available at http://drive.cozy.tools:8080.
Your app is available at http://photos.cozy.tools:8080.

Advanced case
----
Expand All @@ -105,10 +105,10 @@ Bob sees Alice's shared folder in his own cozy.
If you develop with the [cozy-stack CLI](https://github.com/cozy/cozy-stack/blob/master/docs/cli/cozy-stack.md), you have to run [MailHog](https://github.com/mailhog/MailHog) on your computer and tell `cozy-stack serve` where to find the mail server with some [options](https://github.com/cozy/cozy-stack/blob/master/docs/cli/cozy-stack_serve.md#options):

```
./cozy-stack serve --appdir drive:../cozy-drive/build,settings:../cozy-settings/build --mail-disable-tls --mail-port 1025
./cozy-stack serve --appdir photos:../cozy-photos/build,settings:../cozy-settings/build --mail-disable-tls --mail-port 1025
```

_This commands assumes you `git clone` [cozy-drive](https://github.com/cozy/cozy-drive) and [cozy-settings](https://github.com/cozy/cozy-settings) in the same folder than you `git clone` [cozy-stack](https://github.com/cozy/cozy-stack)._
_This commands assumes you `git clone` [cozy-photos](https://github.com/cozy/cozy-photos) and [cozy-settings](https://github.com/cozy/cozy-settings) in the same folder than you `git clone` [cozy-stack](https://github.com/cozy/cozy-stack)._

Then simply run `mailhog` and open http://cozy.tools:8025/.

Expand All @@ -119,7 +119,7 @@ With MailHog, **every email** sent by cozy-stack is caught. That means the email

### Run on you mobile phone or your tablet :phone:

[See specific documentation](src/drive/targets/mobile/README.md).
[See specific documentation](src/photos/targets/mobile/README.md).


### Living on the edge
Expand All @@ -136,7 +136,7 @@ yarn link
then go back to your app project and replace the distributed cozy-ui module with the linked one:

```sh
cd cozy-drive
cd cozy-photos
yarn link cozy-ui
```

Expand All @@ -154,7 +154,7 @@ Consider using [rlink] instead of `yarn link`
Tests are run by [jest] under the hood, and written using [chai] and [sinon]. You can easily run the tests suite with:

```sh
$ cd cozy-drive
$ cd cozy-photos
$ yarn test
```

Expand All @@ -163,7 +163,7 @@ $ yarn test

### Open a Pull-Request

If you want to work on Drive and submit code modifications, feel free to open pull-requests! See the [contributing guide][contribute] for more information about how to properly open pull-requests.
If you want to work on photos and submit code modifications, feel free to open pull-requests! See the [contributing guide][contribute] for more information about how to properly open pull-requests.


Community
Expand All @@ -181,16 +181,16 @@ If you were using a [transifex-client](tx-client), you must move to [Transifex C

The transifex configuration file is still in an old version. Please use the previous client for the moment [https://github.com/transifex/transifex-client/](https://github.com/transifex/transifex-client/).

###### Drive specificity
###### photos specificity

CozyDrive and CozyPhotos share this mono-repository but the translations are split into two projects Transifex.
Cozyphotos and CozyPhotos share this mono-repository but the translations are split into two projects Transifex.
That is why the translation files are not present in this repository.

To update the translation in other language, make the changes directly on [tx-translate]. Select one language and click on **global**

### Maintainer

The lead maintainer for Cozy Drive is @Crash--, send him/her a :beers: to say hello!
The lead maintainer for Cozy photos is @Crash--, send him/her a :beers: to say hello!

### Get in touch

Expand All @@ -205,7 +205,7 @@ You can reach the Cozy Community by:
License
-------

Cozy Drive is developed by Cozy Cloud and distributed under the [AGPL v3 license][agpl-3.0].
Cozy photos is developed by Cozy Cloud and distributed under the [AGPL v3 license][agpl-3.0].



Expand All @@ -225,8 +225,8 @@ Cozy Drive is developed by Cozy Cloud and distributed under the [AGPL v3 license
[contribute]: CONTRIBUTING.md
[tx]: https://www.transifex.com/cozy/
[tx-signin]: https://www.transifex.com/signin/
[tx-app]: https://www.transifex.com/cozy/cozy-drive/dashboard/
[tx-translate]: https://www.transifex.com/cozy/cozy-drive/translate/
[tx-app]: https://www.transifex.com/cozy/cozy-photos/dashboard/
[tx-translate]: https://www.transifex.com/cozy/cozy-photos/translate/
[tx-cli]: https://developers.transifex.com/docs/cli
[tx-client]: https://github.com/transifex/transifex-client
[libera]: https://web.libera.chat/#cozycloud
Expand Down
Binary file removed id_rsa_travis_downcloud.enc
Binary file not shown.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cozy-drive",
"name": "cozy-photos",
"version": "1.64.0",
"main": "src/main.jsx",
"scripts": {
Expand Down Expand Up @@ -56,7 +56,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/cozy/cozy-drive.git"
"url": "git+https://github.com/cozy/cozy-photos.git"
},
"author": "Cozy Cloud <[email protected]> (https://cozy.io/)",
"contributors": [
Expand All @@ -74,9 +74,9 @@
],
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/cozy/cozy-drive/issues"
"url": "https://github.com/cozy/cozy-photos/issues"
},
"homepage": "https://github.com/cozy/cozy-drive#readme",
"homepage": "https://github.com/cozy/cozy-photos#readme",
"devDependencies": {
"@sentry/cli": "1.72.1",
"@testing-library/jest-dom": "5.17.0",
Expand Down
2 changes: 1 addition & 1 deletion src/photos/targets/manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"licence": "AGPL-3.0",
"icon": "public/app-icon.svg",
"categories": ["cozy"],
"source": "https://github.com/cozy/cozy-drive",
"source": "https://github.com/cozy/cozy-photos",
"editor": "Cozy",
"developer": {
"name": "Cozy Cloud",
Expand Down

0 comments on commit b6bfe08

Please sign in to comment.