repo stringclasses 1
value | pull_number int64 183 1.37k | instance_id stringlengths 24 25 | issue_numbers listlengths 1 1 | base_commit stringlengths 40 40 | patch stringlengths 1.17k 285k | test_patch stringlengths 600 27.2k | problem_statement stringlengths 100 10.3k | hints_text stringclasses 7
values | created_at stringlengths 20 20 | version stringclasses 7
values | environment_setup_commit stringclasses 7
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
asterinas/asterinas | 1,369 | asterinas__asterinas-1369 | [
"919"
] | ae4ac384713e63232b74915593ebdef680049d31 | diff --git a/kernel/src/vm/vmar/mod.rs b/kernel/src/vm/vmar/mod.rs
index f691a40453..4cdd850def 100644
--- a/kernel/src/vm/vmar/mod.rs
+++ b/kernel/src/vm/vmar/mod.rs
@@ -16,7 +16,7 @@ use align_ext::AlignExt;
use aster_rights::Rights;
use ostd::{
cpu::CpuExceptionInfo,
- mm::{VmSpace, MAX_USERSPACE_VADDR},
+... | diff --git a/ostd/src/mm/page_table/test.rs b/ostd/src/mm/page_table/test.rs
index 834289a910..6acb5bc22b 100644
--- a/ostd/src/mm/page_table/test.rs
+++ b/ostd/src/mm/page_table/test.rs
@@ -81,6 +81,10 @@ fn test_untracked_map_unmap() {
#[ktest]
fn test_user_copy_on_write() {
+ fn prot_op(prop: &mut PagePropert... | [RFC] Safety model about the page tables
# Background
This issue discusses the internal APIs of the page table. More specifically, the following two sets of APIs:
- The APIs provided by `RawPageTableNode`/`PageTableNode`
- Files: [`framework/aster-frame/src/mm/page_table/node.rs`](https://github.com/asterinas/... | I've already checked out your PR #918 addressing issues raised in this RFC, and find it convincing.
To sum up, the current inner API designs do have the 2 following major weaknesses:
- The "tracked" and "untracked" ranges are all managed by the page table, but the node is agnostic to it to some extent;
- The s... | 2024-09-23T14:17:42Z | 0.8 | ae4ac384713e63232b74915593ebdef680049d31 |
asterinas/asterinas | 1,362 | asterinas__asterinas-1362 | [
"964"
] | f7932595125a0bba8230b5f8d3b110c687d6f3b2 | diff --git a/Makefile b/Makefile
index 55e0f3885f..b820be36b7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,14 @@
# SPDX-License-Identifier: MPL-2.0
-# Global options.
+# =========================== Makefile options. ===============================
+
+# Global build options.
ARCH ?= x86_64
BENCHMARK ?= none
BO... | diff --git a/osdk/tests/commands/run.rs b/osdk/tests/commands/run.rs
index 693f68e9cc..716286abf0 100644
--- a/osdk/tests/commands/run.rs
+++ b/osdk/tests/commands/run.rs
@@ -79,7 +79,11 @@ mod qemu_gdb_feature {
path.to_string_lossy().to_string()
};
- let mut instance = cargo_osdk(["run"... | [Perf Guide] Flame graph scripts on Asterinas
[Flame graph](https://github.com/brendangregg/FlameGraph) is a well known and powerful tool for performance (bottoleneck) analysis. It's based on sampling. If you inspect the call stack 100 times per second, the function that appears more often, would like to consume more t... | 2024-09-21T13:48:03Z | 0.8 | ae4ac384713e63232b74915593ebdef680049d31 | |
asterinas/asterinas | 1,328 | asterinas__asterinas-1328 | [
"1244"
] | 42e28763c59202486af4298d5305e5c5e5ab9b54 | diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs
index c8f1e1bb7c..42390338cb 100644
--- a/kernel/src/lib.rs
+++ b/kernel/src/lib.rs
@@ -133,10 +133,7 @@ fn ap_init() -> ! {
}
fn init_thread() {
- println!(
- "[kernel] Spawn init thread, tid = {}",
- current_thread!().tid()
- );
+ println!(... | diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
index 23618110b8..7c7c9f4348 100644
--- a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
+++ b/osdk/tests/examples_in_book/write_a_ke... | Reachable unwrap panic in `read_clock()`
### Describe the bug
There is a reachable unwrap panic in `read_clock()` at kernel/src/syscall/clock_gettime.rs:141 when make a `clock_gettime` syscall with specific argument.
https://github.com/asterinas/asterinas/blob/aa77747f94c4b1cb1237ba52414642827a6efc25/kernel/src/sys... | 2024-09-12T06:03:09Z | 0.8 | ae4ac384713e63232b74915593ebdef680049d31 | |
asterinas/asterinas | 1,159 | asterinas__asterinas-1159 | [
"975"
] | c2a83427520f8263a8eb2c36edacdba261ad5cae | diff --git a/.github/workflows/benchmark_asterinas.yml b/.github/workflows/benchmark_asterinas.yml
index acdd3f0461..718e61be3b 100644
--- a/.github/workflows/benchmark_asterinas.yml
+++ b/.github/workflows/benchmark_asterinas.yml
@@ -57,7 +57,7 @@ jobs:
fail-fast: false
timeout-minutes: 60
container: ... | diff --git a/.github/workflows/test_asterinas.yml b/.github/workflows/test_asterinas.yml
index 5e299f64c9..1a4d1f4060 100644
--- a/.github/workflows/test_asterinas.yml
+++ b/.github/workflows/test_asterinas.yml
@@ -14,9 +14,9 @@ jobs:
if: github.event_name == 'push' || github.event_name == 'pull_request'
runs... | ktest as a kernel
<!-- Thank you for taking the time to propose a new idea or significant change. Please provide a comprehensive overview of the concepts and motivations at play. -->
### Summary
<!-- Briefly summarize the idea, change, or feature you are proposing. What is it about, and what does it aim to achiev... | This proposal aims to address to problems.
> * a lot of runtime needed when running ktest, which need to be passed as parameters https://github.com/asterinas/asterinas/pull/834 ;
> * need to pass cfg to aster-frame when rebuilding the test https://github.com/asterinas/asterinas/issues/974 ;
I can see why this pr... | 2024-08-13T11:21:28Z | 0.7 | c2a83427520f8263a8eb2c36edacdba261ad5cae |
asterinas/asterinas | 1,158 | asterinas__asterinas-1158 | [
"1264"
] | c68302f7007225fa47f22a1085a8c59dcdae2ad4 | diff --git a/kernel/src/sched/priority_scheduler.rs b/kernel/src/sched/priority_scheduler.rs
index b2aaecdad6..dc33bd12f1 100644
--- a/kernel/src/sched/priority_scheduler.rs
+++ b/kernel/src/sched/priority_scheduler.rs
@@ -50,12 +50,12 @@ impl<T: PreemptSchedInfo> PreemptScheduler<T> {
let mut minimum_load = u... | diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
index fcb2feb3b5..23618110b8 100644
--- a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
+++ b/osdk/tests/examples_in_book/write_a_ke... | Sporadic SMP syscall test aborts
<!-- Thank you for taking the time to report a bug. Your input is valuable to us.
Please replace all the <angle brackets> below with your own information. -->
### Describe the bug
<!-- A clear and concise description of what the bug is. -->
The SMP syscall test aborts with no ... | 2024-08-13T09:28:07Z | 0.8 | ae4ac384713e63232b74915593ebdef680049d31 | |
asterinas/asterinas | 1,138 | asterinas__asterinas-1138 | [
"1135"
] | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 | diff --git a/osdk/src/commands/new/mod.rs b/osdk/src/commands/new/mod.rs
index 1c5c386004..7d4b9b0a4a 100644
--- a/osdk/src/commands/new/mod.rs
+++ b/osdk/src/commands/new/mod.rs
@@ -163,18 +163,14 @@ fn get_manifest_path<'a>(cargo_metadata: &'a serde_json::Value, crate_name: &str
fn get_src_path<'a>(cargo_metadata: &... | diff --git a/osdk/tests/cli/mod.rs b/osdk/tests/cli/mod.rs
index ed909baaf0..4a7fbc1fda 100644
--- a/osdk/tests/cli/mod.rs
+++ b/osdk/tests/cli/mod.rs
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
+use std::fs;
+
use crate::util::*;
#[test]
@@ -50,3 +52,13 @@ fn cli_clippy_help_message() {
assert_succ... | OSDK should support creating crate with `-` in its name
As discovered by #1133, `cargo osdk new --kernel my-first-os` will panic due to `my-first-os` contains `-`.
Since `cargo new my-first-os` is allowed, we should fix the problem to keep osdk consistent with cargo.
| 2024-08-08T01:38:09Z | 0.6 | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 | |
asterinas/asterinas | 1,125 | asterinas__asterinas-1125 | [
"1106"
] | d04111079cb8edf03d9a58b2bd88d4af4b11543a | diff --git a/kernel/aster-nix/src/prelude.rs b/kernel/aster-nix/src/prelude.rs
index dfff76268f..44357e6dd8 100644
--- a/kernel/aster-nix/src/prelude.rs
+++ b/kernel/aster-nix/src/prelude.rs
@@ -26,7 +26,7 @@ pub(crate) use ostd::{
#[macro_export]
macro_rules! current {
() => {
- $crate::process::current(... | diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
index 52dde2534b..21f60b1b6e 100644
--- a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
+++ b/osdk/tests/examples_in_book/write_a_ke... | Lockless mutability for current task data.
**This is currently a work-in-progress RFC**
<!-- Thank you for taking the time to propose a new idea or significant change. Please provide a comprehensive overview of the concepts and motivations at play. -->
### Summary
<!-- Briefly summarize the idea, change, or fe... | Let's say we have a function `foo` with `#[code_context::task]` attribute. How would this `foo` function "receive references to the task data as arguments"? What would the user code look like?
> ```rust
> /// The entrypoint function of a task takes 4 arguments:
> /// 1. the mutable task context,
> /// 2. the share... | 2024-08-03T03:09:32Z | 0.6 | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 |
asterinas/asterinas | 1,098 | asterinas__asterinas-1098 | [
"819"
] | e83e1fc01ba38ad2a405d7d710ec7258fb664f60 | diff --git a/kernel/aster-nix/src/net/iface/any_socket.rs b/kernel/aster-nix/src/net/iface/any_socket.rs
index 912c7e99e1..a95f0c04e2 100644
--- a/kernel/aster-nix/src/net/iface/any_socket.rs
+++ b/kernel/aster-nix/src/net/iface/any_socket.rs
@@ -59,14 +59,7 @@ impl AnyUnboundSocket {
}
}
-pub struct AnyBoundSo... | diff --git a/test/apps/network/listen_backlog.c b/test/apps/network/listen_backlog.c
index 9491891655..301a90bde7 100644
--- a/test/apps/network/listen_backlog.c
+++ b/test/apps/network/listen_backlog.c
@@ -131,7 +131,7 @@ int main(void)
for (backlog = 0; backlog <= MAX_TEST_BACKLOG; ++backlog) {
// Avoid "bind:... | Polling ifaces may not ensure packets be transmitted
The problem occurs when I trying to send two messages to the same TCP socket, and trying to receive the two messages at once.
```C
TEST_RES(sendmsg(sk_accepted, &msg, 0), _ret == strlen(message));
TEST_RES(sendmsg(sk_accepted, &msg, 0), _ret == strlen(message));... | 2024-07-26T01:51:02Z | 0.6 | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 | |
asterinas/asterinas | 1,073 | asterinas__asterinas-1073 | [
"1069"
] | 5aa28eae7e14594bbe68827114443b31002bf742 | diff --git a/osdk/src/base_crate/x86_64.ld.template b/osdk/src/base_crate/x86_64.ld.template
index 18539eb1fa..0682ed20d6 100644
--- a/osdk/src/base_crate/x86_64.ld.template
+++ b/osdk/src/base_crate/x86_64.ld.template
@@ -58,6 +58,16 @@ SECTIONS
# areas for the application processors.
.cpu_local ... | diff --git a/.github/workflows/test_asterinas.yml b/.github/workflows/test_asterinas.yml
index 4147c50999..5fb1678a85 100644
--- a/.github/workflows/test_asterinas.yml
+++ b/.github/workflows/test_asterinas.yml
@@ -60,36 +60,24 @@ jobs:
id: boot_test_mb
run: make run AUTO_TEST=boot ENABLE_KVM=1 BOOT_P... | CPU local memory is used before initialized
The use (in `ostd`):
`init` → `mm::heap_allocator::init` → `HEAP_ALLOCATOR.init` → `SpinLock::lock_irq_disabled` → `trap::irq::disable_local` → `task::processor::disable_preempt` → `PREEMPT_COUNT.increase_num_locks`, where `PREEMPT_COUNT` is a cpu-local variable.
The init... | Modifying `ostd::arch::x86::cpu::get_cpu_local_base` to
``` rust
/// Gets the base address for the CPU local storage by reading the FS base model-specific register.
pub(crate) fn get_cpu_local_base() -> u64 {
let fsbase = FS::read_base().as_u64();
debug_assert_ne!(fsbase, 0, "CPU local memory is used befor... | 2024-07-19T13:26:35Z | 0.6 | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 |
asterinas/asterinas | 1,026 | asterinas__asterinas-1026 | [
"681"
] | 94eba6d85eb9e62ddd904c1132d556b808cc3174 | diff --git a/kernel/aster-nix/src/vm/vmar/vm_mapping.rs b/kernel/aster-nix/src/vm/vmar/vm_mapping.rs
index 6119c96d60..bdec0e5b95 100644
--- a/kernel/aster-nix/src/vm/vmar/vm_mapping.rs
+++ b/kernel/aster-nix/src/vm/vmar/vm_mapping.rs
@@ -5,7 +5,9 @@
use core::ops::Range;
-use ostd::mm::{Frame, FrameVec, PageFlags... | diff --git a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs b/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
index 889779f7b7..52dde2534b 100644
--- a/osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs
+++ b/osdk/tests/examples_in_book/write_a_ke... | The APIs of `VmSpace` are vulnerable to race conditions
```rust
#[derive(Debug, Clone)]
pub struct VmSpace {
memory_set: Arc<Mutex<MemorySet>>,
}
impl VmSpace {
/// determine whether a vaddr is already mapped
pub fn is_mapped(&self, vaddr: Vaddr) -> bool {
let memory_set = self.memory_set.... | 2024-07-04T11:40:07Z | 0.6 | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 | |
asterinas/asterinas | 1,018 | asterinas__asterinas-1018 | [
"1009"
] | 8a9c012249d36c54712030c41388d20a608939f5 | diff --git a/.github/workflows/publish_api_docs.yml b/.github/workflows/publish_api_docs.yml
deleted file mode 100644
index 64c59ef4b5..0000000000
--- a/.github/workflows/publish_api_docs.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-name: Update API docs
-
-on:
- # Scheduled events for nightly API docs
- schedule:
- # UTC ... | diff --git a/osdk/tests/util/mod.rs b/osdk/tests/util/mod.rs
index 98ac7b614c..4f947ba48c 100644
--- a/osdk/tests/util/mod.rs
+++ b/osdk/tests/util/mod.rs
@@ -88,7 +88,7 @@ pub fn add_member_to_workspace(workspace: impl AsRef<Path>, new_member: &str) {
}
/// Makes crates created by `cargo ostd new` depends on ostd ... | Tracking issue for publishing OSTD to crates.io
# Description
This issue tracks the issue of publishing OSTD to `crates.io`
- [x] Publishing all dependent crates of OSTD to `crates.io`
- [x] align_ext ([v0.1.0](https://crates.io/crates/align_ext))
- [x] ostd-macros([v0.1.1](https://crates.io/crates/ostd-mac... | 2024-07-03T08:57:04Z | 0.6 | 6414111cc57b42db2bae1a0c8b01b85c3830a3b3 | |
asterinas/asterinas | 954 | asterinas__asterinas-954 | [
"871"
] | cd2b305fa890bca9c4374ccd83c9ccb24bf8dda3 | diff --git a/docs/src/ostd/a-100-line-kernel.md b/docs/src/ostd/a-100-line-kernel.md
index 3962907a02..7cfa3bed60 100644
--- a/docs/src/ostd/a-100-line-kernel.md
+++ b/docs/src/ostd/a-100-line-kernel.md
@@ -7,23 +7,7 @@ we will show a new kernel in about 100 lines of safe Rust.
Our new kernel will be able to run the f... | diff --git a/osdk/tests/examples_in_book/mod.rs b/osdk/tests/examples_in_book/mod.rs
index 2fa4e61acd..9387dc507a 100644
--- a/osdk/tests/examples_in_book/mod.rs
+++ b/osdk/tests/examples_in_book/mod.rs
@@ -5,3 +5,4 @@
mod create_os_projects;
mod test_and_run_projects;
mod work_in_workspace;
+mod write_a_kernel_in_1... | "[ERROR]: Uncaught panic!" when running the 100-line kernel example in the asterinas book.
When running the 100-line kernel example in the asterinas book [https://asterinas.github.io/book/framework/a-100-line-kernel.html ](url), the following error is reported:
```
Drive current: -outdev 'stdio:/root/workspace/asteri... | It seems that the scheduler is not set. And the guide does not mention that.
```rust
use aster_frame::task::{set_scheduler, FifoScheduler, Scheduler};
let simple_scheduler = Box::new(FifoScheduler::new());
let static_scheduler: &'static dyn Scheduler = Box::leak(simple_scheduler);
set_scheduler(static_scheduler)... | 2024-06-20T08:52:42Z | 0.5 | cd2b305fa890bca9c4374ccd83c9ccb24bf8dda3 |
asterinas/asterinas | 567 | asterinas__asterinas-567 | [
"555"
] | 5fb8a9f7e558977a8027eec32565a2de6b87636b | diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml
new file mode 100644
index 0000000000..29fd6bb2f0
--- /dev/null
+++ b/.github/workflows/license_check.yml
@@ -0,0 +1,14 @@
+name: Check License
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+jobs:
+ check-license-line... | diff --git a/framework/libs/ktest-proc-macro/src/lib.rs b/framework/libs/ktest-proc-macro/src/lib.rs
index 30fb919e99..6edbcdbbd6 100644
--- a/framework/libs/ktest-proc-macro/src/lib.rs
+++ b/framework/libs/ktest-proc-macro/src/lib.rs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: MPL-2.0
+
#![feature(proc_macro_span)]
... | Add copyright and license info to the header of every file
Need to insert the copyright header to every source code file.
Here is the header for each Rust file.
```rust
// SPDX-License-Identifier: MPL-2.0
```
| As a side note, the MPL license is unfortunately hard-coded to allow implicit upgrades when the Mozilla Foundation releases a new license version. Not sure if we like that or not (or at least accept it).
> 10.2. Effect of New Versions
>
> You may distribute the Covered Software under the terms of the version
> o... | 2024-01-03T06:45:56Z | 0.3 | 5fb8a9f7e558977a8027eec32565a2de6b87636b |
asterinas/asterinas | 561 | asterinas__asterinas-561 | [
"551"
] | 6dbf5d560deafea0dcec228e4cb2d5e53c756174 | diff --git a/.cargo/config.toml b/.cargo/config.toml
index c353f95051..0b4b26d967 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,6 +1,6 @@
[target.'cfg(target_os = "none")']
-runner = "cargo run --package jinux-runner --"
+runner = "cargo run --package aster-runner --"
[alias]
kcheck = "check --t... | diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml
index df94fbab1e..962999bfa2 100644
--- a/.github/workflows/integration_test.yml
+++ b/.github/workflows/integration_test.yml
@@ -10,9 +10,9 @@ jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
- container:... | Rename the project name from Jinux to Asterinas
The project's official name will be Asterinas. The renaming process consists of the following steps:
1. The Github repo will be renamed to `asterinas` and moved to the `asterinas` Github org.
2. The DockerHub Image will be moved to `asterinas/asterinas`.
3. All occurr... | 2023-12-25T03:34:33Z | 0.2 | 6dbf5d560deafea0dcec228e4cb2d5e53c756174 | |
asterinas/asterinas | 395 | asterinas__asterinas-395 | [
"254"
] | 576578baf4025686ae4c2893c2aafbc8d1e14722 | diff --git a/services/libs/jinux-std/src/device/mod.rs b/services/libs/jinux-std/src/device/mod.rs
index fa9e6a0d97..2fc391eeff 100644
--- a/services/libs/jinux-std/src/device/mod.rs
+++ b/services/libs/jinux-std/src/device/mod.rs
@@ -12,6 +12,8 @@ pub use pty::{PtyMaster, PtySlave};
pub use random::Random;
pub use u... | diff --git a/regression/syscall_test/blocklists/pty_test b/regression/syscall_test/blocklists/pty_test
index 3d712cd4fd..88a3265eee 100644
--- a/regression/syscall_test/blocklists/pty_test
+++ b/regression/syscall_test/blocklists/pty_test
@@ -21,22 +21,8 @@ PtyTest.SwitchNoncanonToCanonNoNewlineBig
PtyTest.NoncanonBig... | Implement session for shell job control
Process groups and sessions form a two-level hierarchical relationship between processes. A session is a collection of process groups. A process’s session membership is determined by its session identifier (SID). All of the processes in a session share a single controlling termin... | 2023-08-30T11:25:32Z | 0.2 | 6dbf5d560deafea0dcec228e4cb2d5e53c756174 | |
asterinas/asterinas | 334 | asterinas__asterinas-334 | [
"214"
] | 25c4f0f2bcaa0bc8c650b0f4ee7b0d78e2a836b2 | diff --git a/regression/apps/Makefile b/regression/apps/Makefile
index 09db3e9c42..5f70f66350 100644
--- a/regression/apps/Makefile
+++ b/regression/apps/Makefile
@@ -3,7 +3,7 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
CUR_DIR := $(patsubst %/,%,$(dir $(MKFILE_PATH)))
INITRAMFS ?= $(CUR_DIR)/../build/i... | diff --git a/regression/apps/scripts/run_tests.sh b/regression/apps/scripts/run_tests.sh
index 7556dde7f5..d39bc54428 100755
--- a/regression/apps/scripts/run_tests.sh
+++ b/regression/apps/scripts/run_tests.sh
@@ -6,7 +6,7 @@ SCRIPT_DIR=/regression
cd ${SCRIPT_DIR}/..
echo "Running tests......"
-tests="hello_world... | Implement pseudo terminals
Maybe we need #209 for pty, since each pty will be a device under devfs.
| 2023-08-01T06:37:18Z | 0.1 | 25c4f0f2bcaa0bc8c650b0f4ee7b0d78e2a836b2 | |
asterinas/asterinas | 327 | asterinas__asterinas-327 | [
"340"
] | dbfb2e1a62a9981a67cc01ff7310981744ec2ac5 | diff --git a/tools/docker/.gitignore b/tools/docker/.gitignore
new file mode 100644
index 0000000000..c4d86dc34f
--- /dev/null
+++ b/tools/docker/.gitignore
@@ -0,0 +1,1 @@
+bom/
diff --git a/tools/docker/Dockerfile.ubuntu22.04 b/tools/docker/Dockerfile.ubuntu22.04
index ab0f054034..c2f7486893 100644
--- a/tools/docker... | diff --git a/regression/syscall_test/Makefile b/regression/syscall_test/Makefile
index d91d80822b..a8198e8dee 100644
--- a/regression/syscall_test/Makefile
+++ b/regression/syscall_test/Makefile
@@ -2,9 +2,13 @@ TESTS ?= open_test read_test statfs_test chmod_test
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))... | Precompile syscall tests in the dev docker image to accelerate CI
Currently the syscall tests are compiled every-time when CI triggers, which is at a cost of around 12 minutes on Github runners.
| 2023-07-27T07:11:21Z | 0.1 | 25c4f0f2bcaa0bc8c650b0f4ee7b0d78e2a836b2 | |
asterinas/asterinas | 183 | asterinas__asterinas-183 | [
"115"
] | 888853a6de752e97c6f94fff83c00594be42929f | diff --git a/src/.cargo/config.toml b/.cargo/config.toml
similarity index 100%
rename from src/.cargo/config.toml
rename to .cargo/config.toml
diff --git a/.gitattributes b/.gitattributes
index 5da8683478..112cce3c07 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,10 +1,10 @@
-src/apps/hello_world/hello_world fi... | diff --git a/src/apps/pthread/pthread_test b/regression/apps/pthread/pthread_test
similarity index 100%
rename from src/apps/pthread/pthread_test
rename to regression/apps/pthread/pthread_test
diff --git a/src/apps/pthread/pthread_test.c b/regression/apps/pthread/pthread_test.c
similarity index 100%
rename from src/app... | Reorganize the codebase for cleanness
To make the codebase more clean and understandable, I propose to do the following changes:
* Rename `tests` to `test`, which indicates that the directory contains various types of testing code, including unit tests, user programs, and possibly LTP tests
* Rename `apps` to `te... | 2023-04-10T03:22:03Z | 0.1 | 25c4f0f2bcaa0bc8c650b0f4ee7b0d78e2a836b2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.