public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] CI: Add files generated during build by kas to .gitignore
@ 2025-11-27 15:24 Zhihang Wei
  2025-11-27 15:27 ` 'Jan Kiszka' via isar-users
  0 siblings, 1 reply; 4+ messages in thread
From: Zhihang Wei @ 2025-11-27 15:24 UTC (permalink / raw)
  To: isar-users

During testing/building with kas, files, logs and build results are
downloaded and generated under these directories. Add them to
.gitignore.

Signed-off-by: Zhihang Wei <wzh@ilbers.de>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index fff155f1..e65bafc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,6 @@ __pycache__
 .config.yaml*
 .kas_shell_history
 build*
+/downloads/
+/sstate-cache/
+/isar-sstate/
-- 
2.39.5

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251127152456.1810963-1-wzh%40ilbers.de.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] CI: Add files generated during build by kas to .gitignore
  2025-11-27 15:24 [PATCH] CI: Add files generated during build by kas to .gitignore Zhihang Wei
@ 2025-11-27 15:27 ` 'Jan Kiszka' via isar-users
  2025-11-27 15:48   ` Zhihang Wei
  0 siblings, 1 reply; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-11-27 15:27 UTC (permalink / raw)
  To: Zhihang Wei, isar-users

On 27.11.25 16:24, Zhihang Wei wrote:
> During testing/building with kas, files, logs and build results are
> downloaded and generated under these directories. Add them to
> .gitignore.
> 
> Signed-off-by: Zhihang Wei <wzh@ilbers.de>
> ---
>  .gitignore | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/.gitignore b/.gitignore
> index fff155f1..e65bafc2 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -4,3 +4,6 @@ __pycache__
>  .config.yaml*
>  .kas_shell_history
>  build*
> +/downloads/
> +/sstate-cache/
> +/isar-sstate/

Err, only if you modified the defaults of kas. Normally, everything is
under KAS_WORK_DIR, and that is /build.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/b1577fa8-abad-4e0a-a9ac-b1b54f700808%40siemens.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] CI: Add files generated during build by kas to .gitignore
  2025-11-27 15:27 ` 'Jan Kiszka' via isar-users
@ 2025-11-27 15:48   ` Zhihang Wei
  2025-11-27 16:10     ` 'Jan Kiszka' via isar-users
  0 siblings, 1 reply; 4+ messages in thread
From: Zhihang Wei @ 2025-11-27 15:48 UTC (permalink / raw)
  To: Jan Kiszka, isar-users


On 11/27/25 16:27, 'Jan Kiszka' via isar-users wrote:
> On 27.11.25 16:24, Zhihang Wei wrote:
>> During testing/building with kas, files, logs and build results are
>> downloaded and generated under these directories. Add them to
>> .gitignore.
>>
>> Signed-off-by: Zhihang Wei <wzh@ilbers.de>
>> ---
>>   .gitignore | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/.gitignore b/.gitignore
>> index fff155f1..e65bafc2 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -4,3 +4,6 @@ __pycache__
>>   .config.yaml*
>>   .kas_shell_history
>>   build*
>> +/downloads/
>> +/sstate-cache/
>> +/isar-sstate/
> Err, only if you modified the defaults of kas. Normally, everything is
> under KAS_WORK_DIR, and that is /build.
>
> Jan
>
After 778e37f0, /downloads is outside of /build by our kas defaults for 
sharing.
/sstate-cache is created outside /build also for sharing, commit 26c52efc.
/isar-sstate is by default created outside /build during testing, 20c8a836.

Zhihang

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/da588219-c99b-496a-b695-e23ff34b3f77%40ilbers.de.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] CI: Add files generated during build by kas to .gitignore
  2025-11-27 15:48   ` Zhihang Wei
@ 2025-11-27 16:10     ` 'Jan Kiszka' via isar-users
  0 siblings, 0 replies; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-11-27 16:10 UTC (permalink / raw)
  To: Zhihang Wei, isar-users

On 27.11.25 16:48, Zhihang Wei wrote:
> 
> On 11/27/25 16:27, 'Jan Kiszka' via isar-users wrote:
>> On 27.11.25 16:24, Zhihang Wei wrote:
>>> During testing/building with kas, files, logs and build results are
>>> downloaded and generated under these directories. Add them to
>>> .gitignore.
>>>
>>> Signed-off-by: Zhihang Wei <wzh@ilbers.de>
>>> ---
>>>   .gitignore | 3 +++
>>>   1 file changed, 3 insertions(+)
>>>
>>> diff --git a/.gitignore b/.gitignore
>>> index fff155f1..e65bafc2 100644
>>> --- a/.gitignore
>>> +++ b/.gitignore
>>> @@ -4,3 +4,6 @@ __pycache__
>>>   .config.yaml*
>>>   .kas_shell_history
>>>   build*
>>> +/downloads/
>>> +/sstate-cache/
>>> +/isar-sstate/
>> Err, only if you modified the defaults of kas. Normally, everything is
>> under KAS_WORK_DIR, and that is /build.

Sorry, it's under KAS_BUILD_DIR - KAS_WORK_DIR is . by default, normally
the isar repo then.

>>
>> Jan
>>
> After 778e37f0, /downloads is outside of /build by our kas defaults for
> sharing.

Nope, this is not correct. This commit is using vanilla kas-container
4.8.1, and that does not change DL_DIR or KAS_BUILD_DIR.

> /sstate-cache is created outside /build also for sharing, commit 26c52efc.
> /isar-sstate is by default created outside /build during testing, 20c8a836.

This is correct - but both very ugly. I would recommend directing the
testsuites output into a separate subdir if you don't want to reuse the
standard dir (build) that interactive builds use.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/888fcf87-f6d7-4db7-8373-360d41b58818%40siemens.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-27 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-27 15:24 [PATCH] CI: Add files generated during build by kas to .gitignore Zhihang Wei
2025-11-27 15:27 ` 'Jan Kiszka' via isar-users
2025-11-27 15:48   ` Zhihang Wei
2025-11-27 16:10     ` 'Jan Kiszka' via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox