Commit graph

41 commits

Author SHA1 Message Date
vishnukvmd
3e7862fe4e Update links to Auth releases 2024-03-08 17:41:34 +05:30
Manav Rathi
d7d127cb55 Tweak 2024-03-06 17:55:08 +05:30
Manav Rathi
cd60f4e590 Add download from GitHub button for auth
Icon made by Pragadees
2024-03-06 17:50:09 +05:30
Manav Rathi
f9b5cdb1e7 Tweak the icons to make them fit better 2024-03-06 17:34:48 +05:30
Manav Rathi
a053dbf872 Add Twitter and Mastodon links to README
Icons from Bootstrap icons (MIT licensed):
- https://icons.getbootstrap.com/icons/twitter/
- https://icons.getbootstrap.com/icons/mastodon/
2024-03-06 17:28:52 +05:30
Vishnu Mohandas
9bcca81d0f
Fix AppStore link for Auth 2024-03-01 21:05:18 +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
c76b96a74b Move into auth/ 2024-03-01 12:19:20 +05:30
vishnukvmd
cba39f4ef5 Minor updates to readme 2023-09-05 16:50:28 +05:30
Vishnu Mohandas
69f09c896c
Update README.md 2023-09-02 10:08:07 +05:30
Neeraj Gupta
c413564a4b Add Contribution doc 2023-09-02 09:58:42 +05:30
vishnukvmd
d0481775ad Add instructions for adding custom icons 2023-08-19 22:55:04 +05:30
vishnukvmd
909276fe2f Update README 2023-08-17 23:19:35 +05:30
Neeraj Gupta
64c712efd9
Update README.md 2023-06-02 16:09:47 +05:30
Vishnu Mohandas
065248a9cb
Update README.md 2023-04-17 19:12:20 +05:30
Vishnu Mohandas
09fad5fa3e
Update README.md 2023-04-17 19:11:52 +05:30
Neeraj Gupta
22b05da6bf
Update README.md 2023-04-14 16:35:38 +05:30
Neeraj Gupta
6f80ded657
README: Add link to view codes on web 2023-04-04 16:22:14 +05:30
Neeraj Gupta
153998763e
Fix format for importing codes 2023-04-04 14:53:26 +05:30
Neeraj Gupta
2893eb45fa
Merge branch 'main' into vishnukvmd-patch-1 2023-04-03 11:53:09 +05:30
Neeraj Gupta
8571c024f7
Update README.md 2023-03-18 19:24:55 +05:30
vishnukvmd
060ae5571f Add link to F-Droid to README 2023-03-12 11:17:53 +05:30
Vishnu Mohandas
875df67a5e
Update README.md 2023-02-23 20:59:06 +05:30
Vishnu Mohandas
74f2d70000
Update README.md 2023-02-23 20:46:40 +05:30
Manav
7666c4e053 Document automated releases 2023-01-28 15:34:21 +05:30
Neeraj Gupta
39f9385c74
Fix typo in read me 2023-01-28 12:13:16 +05:30
Neeraj Gupta
aedde8e447
Readme: Fix link to issues 2022-12-15 13:47:24 +05:30
Vishnu Mohandas
ee6c4d3744 Fix hyperlink to Download 2022-12-12 20:29:50 +05:30
Manav
563fb2fb7c README tweaks 2022-12-12 18:30:32 +05:30
Vishnu Mohandas
00372208a4 Update Architecture folder structure 2022-12-09 21:50:36 +05:30
Vishnu Mohandas
7c093ec8c8 Update README 2022-12-09 21:46:31 +05:30
Vishnu Mohandas
6505ed37fc Add info about desktop support 2022-12-09 14:47:19 +05:30
vishnukvmd
6dd3903c78 Add screenshots 2022-12-05 10:50:38 +05:30
vishnukvmd
6996650ad5 Add links to both stores 2022-12-05 10:37:31 +05:30
vishnukvmd
7a90a09d0c Format README 2022-11-24 13:23:07 +05:30
vishnukvmd
9508b30353 Update readme 2022-11-24 13:21:40 +05:30
Neeraj Gupta
05652656ae
Update README.md 2022-11-16 16:15:13 +05:30
vishnukvmd
7ab16df330 Update readme 2022-11-14 22:46:08 +05:30
vishnukvmd
aeaaddbe40 Update README 2022-11-14 22:11:14 +05:30
vishnukvmd
08ad496975 Update README 2022-11-14 20:02:32 +05:30
vishnukvmd
9728a0f224 Hello, world 2022-11-01 11:43:06 +05:30