Commit graph

23869 commits

Author SHA1 Message Date
Manav Rathi
2ed02fac15 Add folder intro 2024-03-02 12:47:40 +05:30
Manav Rathi
6df92c1b8e Remove the color customizations since they would apply to the entire ente project 2024-03-02 12:43:56 +05:30
Manav Rathi
ebe6774ff4 Allow developers to customize their VSCode configuration
For folks who're using the git integration from within VSCode, the top level
directory needs to be open in VSCode for using git GUI from VSCode.

However, for using the Run & debug configurations they need to open ente/mobile
is opened in VSCode.

As a solution

- gitignore .vscode
- provide sample VSCode configuration files is mobile/docs/vscode and auth/docs/vscode
- mention it in the README

(will update the auth README later, have to do a few more changes to it first)
2024-03-02 12:33:43 +05:30
Manav Rathi
307ddf0b33
Fix links in CONTRIBUTING.md (#514)
Fixes https://github.com/ente-io/ente/issues/512
2024-03-02 12:04:28 +05:30
Manav Rathi
1ce407481c Fix links in CONTRIBUTING.md
Fixes https://github.com/ente-io/ente/issues/512
2024-03-02 12:02:25 +05:30
Manav Rathi
24aa3b506e
Update project specific READMEs - web, mobile (#513)
Updates web/ and mobile/. Will update the others in a subsequent PR.

/cc @vishnukvmd
2024-03-02 11:49:46 +05:30
Manav Rathi
a7dbd32bc9 Update mobile/ to account for new monorepo structure 2024-03-02 11:47:47 +05:30
Manav Rathi
d869bd645f Update web/ to account for new monorepo structure 2024-03-02 10:13:51 +05:30
Vishnu Mohandas
39b4e9b694
Fix warnings (#509) 2024-03-02 08:16:17 +05:30
Vishnu Mohandas
9bcca81d0f
Fix AppStore link for Auth 2024-03-01 21:05:18 +05:30
Vishnu Mohandas
093378ff3e
Update README.md 2024-03-01 19:11:25 +05:30
Vishnu Mohandas
158047c0c2
Update README.md 2024-03-01 19:10:18 +05:30
vishnukvmd
a875cad231 Fix warnings in Photos 2024-03-01 18:54:19 +05:30
vishnukvmd
8c8723efd1 Fix warnings in Auth 2024-03-01 18:54:10 +05:30
vishnukvmd
e6ab34101f Update CLIP dependency 2024-03-01 18:53:51 +05:30
Vishnu Mohandas
6ce8b374cf
Remove tflite setup file (#508) 2024-03-01 18:09:45 +05:30
ashilkn
2341d38f4a Update README 2024-03-01 18:03:15 +05:30
ashilkn
e8dec53993 Merge branch 'main' into delete_setup_file_mobile 2024-03-01 17:42:18 +05:30
ashilkn
3cf0f9a7a2 delete setup.sh 2024-03-01 17:24:34 +05:30
Manav Rathi
3dc9cc92ef
Add README notices about the in-progress migration to this repository (#506)
Documentation only change.
2024-03-01 16:41:04 +05:30
Manav Rathi
0fc7f31818 Remove the recursive submodule 2024-03-01 16:38:56 +05:30
Manav Rathi
d7ef0e238c Add README notices about the in-progress migration to this repository 2024-03-01 16:35:45 +05:30
Manav Rathi
9cdaabc403
Move all submodules to the top level (#505)
## Description

## Tests
2024-03-01 16:16:25 +05:30
Neeraj Gupta
531bb344fe Import museum 2024-03-01 13:37:01 +05:30
Manav Rathi
e9d76688ce Move to monorepo
Move all of our code into a monorepo in preparation of open sourcing our server.

First I describe the general plan, then later I've kept an exact log of the
commands that I used. This was all done prior to this commit, but this commit
(that introduces the various top level files) seems like a good way to summarize
the entire process.

Clone auth. Auth is our base repository.

```sh
git clone https://github.com/ente-io/auth.git && cd auth
```

Move all of auth's files into `auth/`.

```sh
mkdir auth
git mv `find . -maxdepth 1 | grep -v -e '\.$' -e '\.\/.git$' -e '\.\/auth$'` auth
git commit -m 'Move into auth/'
```

Add photos-web as a new remote, and fetch its main.

```sh
git remote add photos-web https://github.com/ente-io/photos-web.git
git fetch photos-web main
```

Switch to main of web-photos.

```sh
git checkout -b photos-web-main photos-web/main
```

Move all of its files into `web` (note, the find now has an extra exclusion for
`web`, but we keep all the old ones too):

```sh
mkdir web
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/auth$' -e '^\.\/web$'` web
git commit -m 'Move into web/'
```

Switch back to main main, and merge the photos-web branch. The
`--allow-unrelated-histories` flag is needed (since these two branches don't
have any previous common ancestor).

```sh
git checkout main
git merge --allow-unrelated-histories photos-web-main
```

That's it. We then repeat this process for all the other repositories that we
need to bring in.

There is no magic involved here, so regular git commands will continue working.
However, all the files get renamed, so to track the git history prior to this
rename commit we'll need to pass the `--follow` flag.

    git log --follow -p -- auth/migration-guides/encrypted_export.md

For some file names like README.md which exist in multiple repositories, this
doesn't seem to work so good (I don't fully understand why). For example,
`git log --follow -p -- auth/README.md lists the changes to all the READMEs,
not just the auth README.md.

```sh

git clone https://github.com/ente-io/auth.git ente
cd ente

mkdir auth
git mv `find . -maxdepth 1 | grep -v -e '\.$' -e '\.\/.git$' -e '\.\/auth$'` auth
git commit -m 'Move into auth/'

git remote add photos-web https://github.com/ente-io/photos-web.git
git fetch photos-web main
git checkout -b photos-web-main photos-web/main

mkdir web
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/auth$' -e '^\.\/web$'` web
git commit -m 'Move into web/'

git checkout main
git merge --allow-unrelated-histories photos-web-main
git branch -D photos-web-main
git remote remove photos-web

git remote add photos-app https://github.com/ente-io/photos-app.git
git fetch photos-app main
git checkout -b photos-app-main photos-app/main

mkdir mobile
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/auth$' -e '^\.\/web$' -e '^\.\/mobile$'` mobile
git commit -m 'Move into mobile/'

git checkout main
git merge --allow-unrelated-histories photos-app-main
git branch -D photos-app-main
git remote remove photos-app

git remote add photos-desktop https://github.com/ente-io/photos-desktop.git
git fetch photos-desktop main
git checkout -b photos-desktop-main photos-desktop/main

mkdir desktop
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\./.gitmodules$' -e '^\.\/desktop$'` desktop
git mv .gitmodules desktop
git commit -m 'Move into desktop/'

git checkout main
git merge --allow-unrelated-histories photos-desktop-main
git branch -D photos-desktop-main
git remote remove photos-desktop

git remote add cli https://github.com/ente-io/cli.git
git fetch cli main
git checkout -b cli-main cli/main

mkdir cli
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/cli$'` cli
git commit -m 'Move into cli/'

git checkout main
git merge --allow-unrelated-histories cli-main
git branch -D cli-main
git remote remove cli

git remote add docs https://github.com/ente-io/docs.git
git fetch docs main
git checkout -b docs-main docs/main

mkdir docs-1
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/docs-1$'` docs-1
git mv docs-1 docs
git commit -m 'Move into docs/'

git checkout main
git merge --allow-unrelated-histories docs-main
git branch -D docs-main
git remote remove docs
```
2024-03-01 13:01:41 +05:30
Manav Rathi
0ccc98425e Merge branch 'docs-main' 2024-03-01 12:44:05 +05:30
Manav Rathi
6dfc059073 Move into docs/ 2024-03-01 12:43:55 +05:30
Manav Rathi
40c31cc24e Merge branch 'cli-main' 2024-03-01 12:39:09 +05:30
Manav Rathi
39ef006532 Move into cli/ 2024-03-01 12:39:01 +05:30
Manav Rathi
52334204fa Merge branch 'photos-desktop-main' 2024-03-01 12:36:43 +05:30
Manav Rathi
1ac5222b09 Move into desktop/ 2024-03-01 12:36:35 +05:30
Manav Rathi
d683d905e3 Merge branch 'photos-app-main' 2024-03-01 12:25:48 +05:30
Manav Rathi
41b2581b8f Move into mobile/ 2024-03-01 12:25:37 +05:30
Manav Rathi
4b1850914d Merge branch 'photos-web-main' 2024-03-01 12:21:44 +05:30
Manav Rathi
e15c7e1642 Move into web/ 2024-03-01 12:21:07 +05:30
Manav Rathi
c76b96a74b Move into auth/ 2024-03-01 12:19:20 +05:30
Manav Rathi
bc2551e544 Remove accidentally committed vscode 2024-03-01 12:06:06 +05:30
Manav Rathi
7a3d29da24
Merge pull request #2 from ente-io/prepare-for-merge
Prepare for merge
2024-03-01 12:05:26 +05:30
Manav Rathi
22af3e4359 Prepare for merge 2024-03-01 12:01:52 +05:30
Vishnu Mohandas
7ac35b0167
New Translations (#1757) 2024-03-01 12:01:15 +05:30
Manav Rathi
f5a27f2b2c Resize image
https://github.com/vuejs/vitepress/discussions/1611
2024-03-01 11:46:32 +05:30
Manav Rathi
a509043627 Auto sidebar didn't kinda work for us 2024-03-01 11:43:48 +05:30
Ashil
e26141033c
[FEAT] Home Widget for Favorites Album (#1703) 2024-03-01 11:40:52 +05:30
Manav Rathi
dadfb82c2e Cleanup 2024-03-01 11:17:44 +05:30
Manav Rathi
fb386098c9 Give the automatic sidebar generation plugin a shot 2024-03-01 11:05:31 +05:30
Manav Rathi
d460584808 Tweak config 2024-03-01 10:56:34 +05:30
Manav Rathi
f9cdf477f1 vars 2024-03-01 10:37:27 +05:30
Manav Rathi
4d7ac418f5 Cloudflare likely supports them
...didn't find it mentione in docs though, if it doesn't work will revert.
2024-03-01 10:27:04 +05:30
Manav Rathi
34efae430c Drop unnecessary support for web apps 2024-03-01 10:21:08 +05:30
Manav Rathi
dcdab150dc Mention the pending publishing 2024-03-01 10:18:44 +05:30