Skip to content

Commit bee0901

Browse files
committed
Improve logging on packaging
1 parent a610710 commit bee0901

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker-app/qfieldcloud/core/migrations/0095_alter_job_type_projectseed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Migration(migrations.Migration):
3434
models.OneToOneField(
3535
on_delete=django.db.models.deletion.CASCADE,
3636
primary_key=True,
37-
related_name="+",
37+
related_name="seed",
3838
serialize=False,
3939
to="core.project",
4040
),

docker-qgis/qfc_worker/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,8 @@ def download_project(
418418
working_dir = destination.joinpath("files")
419419
working_dir.mkdir(parents=True)
420420

421+
logging.info(f"Downloading project files to {working_dir}…")
422+
421423
client = sdk.Client()
422424
files = client.list_remote_files(project_id)
423425

@@ -478,7 +480,7 @@ def upload_project(project_id: str, project_dir: Path) -> None:
478480
show_progress=False,
479481
)
480482

481-
logging.info("Uploading packaged project files finished!")
483+
logging.info("Uploading project files finished!")
482484

483485

484486
def list_local_files(project_id: str, project_dir: Path):

0 commit comments

Comments
 (0)