Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] so if i understand right, docker is caching everything in those directories and restores is when the

[DiscordArchive] so if i understand right, docker is caching everything in those directories and restores is when the

[DiscordArchive] so if i understand right, docker is caching everything in those directories and restores is when the

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
05-05-2023, 07:34 PM
#21
Archived author: KJack • Posted: 2023-05-05T19:34:23.954000+00:00
Original source

yeah, not immediately seeing a way around that short of re-cloning from github, but that won't necessarily match what's on the local pc.
rektbyfaith
05-05-2023, 07:34 PM #21

Archived author: KJack • Posted: 2023-05-05T19:34:23.954000+00:00
Original source

yeah, not immediately seeing a way around that short of re-cloning from github, but that won't necessarily match what's on the local pc.

rektbyfaith
Administrator
0
05-05-2023, 08:04 PM
#22
Archived author: Honey • Posted: 2023-05-05T20:04:18.122000+00:00
Original source

You can use `git clone --depth 1` to load only the last revision.
You can also use `git clone --depth 1 --recurse-submodules --shallow-submodules` to extend that behavior to submodules.
rektbyfaith
05-05-2023, 08:04 PM #22

Archived author: Honey • Posted: 2023-05-05T20:04:18.122000+00:00
Original source

You can use `git clone --depth 1` to load only the last revision.
You can also use `git clone --depth 1 --recurse-submodules --shallow-submodules` to extend that behavior to submodules.

rektbyfaith
Administrator
0
05-05-2023, 08:13 PM
#23
Archived author: KJack • Posted: 2023-05-05T20:13:34.161000+00:00
Original source

i need to figure out how to do that when the full repo is already downloaded. i'm not sure i can without copying the entire repo into the image first. but maybe that's okay, not sure!
rektbyfaith
05-05-2023, 08:13 PM #23

Archived author: KJack • Posted: 2023-05-05T20:13:34.161000+00:00
Original source

i need to figure out how to do that when the full repo is already downloaded. i'm not sure i can without copying the entire repo into the image first. but maybe that's okay, not sure!

rektbyfaith
Administrator
0
05-05-2023, 08:17 PM
#24
Archived author: mynameismeat • Posted: 2023-05-05T20:17:10.328000+00:00
Original source

I'll have to take a look further into how I'm doing it. Even with a depth of 1, the .git repo is 152MB

```bash
$ git clone https://github.com/azerothcore/azerothcore-wotlk acore-test --depth 1
Cloning into 'acore-test'...
[redacted]
$ du -sh acore-test
837M acore-test
$ du -sh acore-test/.git
152M acore-test/.git
```
rektbyfaith
05-05-2023, 08:17 PM #24

Archived author: mynameismeat • Posted: 2023-05-05T20:17:10.328000+00:00
Original source

I'll have to take a look further into how I'm doing it. Even with a depth of 1, the .git repo is 152MB

```bash
$ git clone https://github.com/azerothcore/azerothcore-wotlk acore-test --depth 1
Cloning into 'acore-test'...
[redacted]
$ du -sh acore-test
837M acore-test
$ du -sh acore-test/.git
152M acore-test/.git
```

rektbyfaith
Administrator
0
05-05-2023, 08:18 PM
#25
Archived author: KJack • Posted: 2023-05-05T20:18:16.576000+00:00
Original source

if the user chooses to get a shallow repo, it's fine - that's what i'll import and use
rektbyfaith
05-05-2023, 08:18 PM #25

Archived author: KJack • Posted: 2023-05-05T20:18:16.576000+00:00
Original source

if the user chooses to get a shallow repo, it's fine - that's what i'll import and use

rektbyfaith
Administrator
0
05-05-2023, 08:18 PM
#26
Archived author: KJack • Posted: 2023-05-05T20:18:27.167000+00:00
Original source

just a lot of bloat for no gain other than that one "revision" string
rektbyfaith
05-05-2023, 08:18 PM #26

Archived author: KJack • Posted: 2023-05-05T20:18:27.167000+00:00
Original source

just a lot of bloat for no gain other than that one "revision" string

rektbyfaith
Administrator
0
05-05-2023, 08:18 PM
#27
Archived author: mynameismeat • Posted: 2023-05-05T20:18:56.301000+00:00
Original source

Yeah. One of those things where the build process may be better off not relying on git
rektbyfaith
05-05-2023, 08:18 PM #27

Archived author: mynameismeat • Posted: 2023-05-05T20:18:56.301000+00:00
Original source

Yeah. One of those things where the build process may be better off not relying on git

rektbyfaith
Administrator
0
05-05-2023, 08:20 PM
#28
Archived author: KJack • Posted: 2023-05-05T20:20:23.973000+00:00
Original source

i've got a stupid hack i'm gonna try
rektbyfaith
05-05-2023, 08:20 PM #28

Archived author: KJack • Posted: 2023-05-05T20:20:23.973000+00:00
Original source

i've got a stupid hack i'm gonna try

rektbyfaith
Administrator
0
05-05-2023, 08:26 PM
#29
Archived author: mynameismeat • Posted: 2023-05-05T20:26:46.843000+00:00
Original source

can you set the `WITHOUT_GIT` env variable?

<https://github.com/azerothcore/azerothcore-wotlk/blob/master/CMakeLists.txt#L108C8-L110>
rektbyfaith
05-05-2023, 08:26 PM #29

Archived author: mynameismeat • Posted: 2023-05-05T20:26:46.843000+00:00
Original source

can you set the `WITHOUT_GIT` env variable?

<https://github.com/azerothcore/azerothcore-wotlk/blob/master/CMakeLists.txt#L108C8-L110>

rektbyfaith
Administrator
0
05-05-2023, 08:27 PM
#30
Archived author: KJack • Posted: 2023-05-05T20:27:23.311000+00:00
Original source

you'd lose the compiled revision information if we kill it entirely, right? i think the server reports that out on startup.
rektbyfaith
05-05-2023, 08:27 PM #30

Archived author: KJack • Posted: 2023-05-05T20:27:23.311000+00:00
Original source

you'd lose the compiled revision information if we kill it entirely, right? i think the server reports that out on startup.

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)