Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feature Request
description: Suggest an idea or enhancement for ApraUtils
description: Suggest an idea or enhancement for ApraLinuxUtils
title: "[Feature]: "
labels: ["enhancement"]
assignees: []
Expand All @@ -8,7 +8,7 @@ body:
- type: markdown
attributes:
value: |
Thanks for suggesting a new feature! Your ideas help make ApraUtils better for everyone.
Thanks for suggesting a new feature! Your ideas help make ApraLinuxUtils better for everyone.

- type: textarea
id: problem
Expand All @@ -24,7 +24,7 @@ body:
attributes:
label: Proposed Solution
description: Describe the solution you'd like
placeholder: "I would like ApraUtils to..."
placeholder: "I would like ApraLinuxUtils to..."
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ Paste test output here
- [ ] Performance may be affected (please explain)

<!--
Thank you for contributing to ApraUtils!
Thank you for contributing to ApraLinuxUtils!
Your efforts help make this project better for everyone.
-->
14 changes: 7 additions & 7 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
- name: Run unit tests
run: |
cd build
if [ ! -f "./ApraUtilsTests" ]; then
if [ ! -f "./ApraLinuxUtilsTests" ]; then
echo "Error: Test executable not found!"
echo "Available executables:"
find . -type f -executable
exit 1
fi
./ApraUtilsTests --gtest_output=xml:test_results.xml
./ApraLinuxUtilsTests --gtest_output=xml:test_results.xml

- name: Capture coverage data
run: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
mkdir -p coverage_html
genhtml coverage_filtered.info \
--output-directory coverage_html \
--title "ApraUtils Code Coverage" \
--title "ApraLinuxUtils Code Coverage" \
--legend \
--show-details \
--branch-coverage \
Expand Down Expand Up @@ -128,14 +128,14 @@ jobs:
if: always()
with:
name: test-executable
path: build/ApraUtilsTests
path: build/ApraLinuxUtilsTests
retention-days: 7

- name: Upload library artifact
uses: actions/upload-artifact@v4
with:
name: libApraUtils
path: build/libApraUtils.a
name: libApraLinuxUtils
path: build/libApraLinuxUtils.a
retention-days: 30

- name: Create coverage badge
Expand All @@ -144,7 +144,7 @@ jobs:
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: ${{ secrets.GIST_ID }}
filename: aprautils-coverage.json
filename: apralinuxutils-coverage.json
label: Coverage
message: ${{ steps.coverage.outputs.COVERAGE_PERCENT }}%
valColorRange: ${{ steps.coverage.outputs.COVERAGE_PERCENT }}
Expand Down
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Build System**
- CMake build configuration (CMakeLists.txt)
- C++14 standard support
- Static library output (libApraUtils.a)
- Static library output (libApraLinuxUtils.a)
- GitHub Actions CI/CD pipeline

- **Documentation**
Expand Down Expand Up @@ -149,10 +149,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Links

- [Repository](https://github.com/Apra-Labs/ApraUtils)
- [Issues](https://github.com/Apra-Labs/ApraUtils/issues)
- [Pull Requests](https://github.com/Apra-Labs/ApraUtils/pulls)
- [Releases](https://github.com/Apra-Labs/ApraUtils/releases)
- [Repository](https://github.com/Apra-Labs/ApraLinuxUtils)
- [Issues](https://github.com/Apra-Labs/ApraLinuxUtils/issues)
- [Pull Requests](https://github.com/Apra-Labs/ApraLinuxUtils/pulls)
- [Releases](https://github.com/Apra-Labs/ApraLinuxUtils/releases)

---

Expand Down
18 changes: 9 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}" ${CMAKE_MODULE_PATH})

project(ApraUtils)
project(ApraLinuxUtils)

# Options for building tests and coverage
option(BUILD_TESTS "Build unit tests" OFF)
Expand All @@ -15,7 +15,7 @@ if(NOT UNIX OR APPLE)
message(FATAL_ERROR
"\n"
"========================================================================\n"
" ApraUtils is designed for embedded Linux systems only.\n"
" ApraLinuxUtils is designed for embedded Linux systems only.\n"
" \n"
" This library requires:\n"
" - Linux kernel headers (I2C, GPIO, PWM)\n"
Expand Down Expand Up @@ -45,7 +45,7 @@ if(ENABLE_COVERAGE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
endif()

add_library(ApraUtils STATIC ${CORE_CODE_FILES})
add_library(ApraLinuxUtils STATIC ${CORE_CODE_FILES})

# Google Test setup
if(BUILD_TESTS)
Expand All @@ -69,23 +69,23 @@ if(BUILD_TESTS)
file(GLOB_RECURSE TEST_SOURCES tests/*.cpp)

# Create test executable
add_executable(ApraUtilsTests ${TEST_SOURCES})
add_executable(ApraLinuxUtilsTests ${TEST_SOURCES})

# Link against ApraUtils library and Google Test
target_link_libraries(ApraUtilsTests
ApraUtils
# Link against ApraLinuxUtils library and Google Test
target_link_libraries(ApraLinuxUtilsTests
ApraLinuxUtils
gtest
gtest_main
pthread
)

# Include directories for tests
target_include_directories(ApraUtilsTests PRIVATE
target_include_directories(ApraLinuxUtilsTests PRIVATE
${CMAKE_SOURCE_DIR}/includes
${CMAKE_SOURCE_DIR}/tests
)

# Add tests to CTest
include(GoogleTest)
gtest_discover_tests(ApraUtilsTests)
gtest_discover_tests(ApraLinuxUtilsTests)
endif()
26 changes: 13 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to ApraUtils
# Contributing to ApraLinuxUtils

Thank you for considering contributing to ApraUtils! We welcome contributions from the community and are grateful for your support.
Thank you for considering contributing to ApraLinuxUtils! We welcome contributions from the community and are grateful for your support.

## Table of Contents

Expand All @@ -24,7 +24,7 @@ This project and everyone participating in it is governed by our [Code of Conduc

### Reporting Bugs

Before creating bug reports, please check the [existing issues](https://github.com/Apra-Labs/ApraUtils/issues) to avoid duplicates.
Before creating bug reports, please check the [existing issues](https://github.com/Apra-Labs/ApraLinuxUtils/issues) to avoid duplicates.

When creating a bug report, please include:

Expand Down Expand Up @@ -71,7 +71,7 @@ Enhancement suggestions are tracked as GitHub issues. When creating an enhanceme

- **Use a clear and descriptive title**
- **Provide a detailed description** of the proposed functionality
- **Explain why this enhancement would be useful** to most ApraUtils users
- **Explain why this enhancement would be useful** to most ApraLinuxUtils users
- **List any similar features** in other libraries
- **Include code examples** if applicable

Expand Down Expand Up @@ -104,11 +104,11 @@ sudo apt-get install -y clang-format clang-tidy doxygen graphviz

```bash
# 1. Fork and clone the repository
git clone https://github.com/YOUR_USERNAME/ApraUtils.git
cd ApraUtils
git clone https://github.com/YOUR_USERNAME/ApraLinuxUtils.git
cd ApraLinuxUtils

# 2. Add upstream remote
git remote add upstream https://github.com/Apra-Labs/ApraUtils.git
git remote add upstream https://github.com/Apra-Labs/ApraLinuxUtils.git

# 3. Create a development branch
git checkout -b feature/your-feature-name
Expand Down Expand Up @@ -212,7 +212,7 @@ void MyClass::myFunction(int param1, bool param2)
*
* Copyright (c) 2024 Apra Labs
*
* This file is part of ApraUtils.
* This file is part of ApraLinuxUtils.
*
* Licensed under the MIT License.
* See LICENSE file in the project root for full license information.
Expand Down Expand Up @@ -440,14 +440,14 @@ bool Init(bool isRead);

If you have questions about contributing:

- Open a [GitHub Discussion](https://github.com/Apra-Labs/ApraUtils/discussions)
- Check existing [Issues](https://github.com/Apra-Labs/ApraUtils/issues)
- Review [Documentation](https://apra-labs.github.io/ApraUtils/)
- Open a [GitHub Discussion](https://github.com/Apra-Labs/ApraLinuxUtils/discussions)
- Check existing [Issues](https://github.com/Apra-Labs/ApraLinuxUtils/issues)
- Review [Documentation](https://apra-labs.github.io/ApraLinuxUtils/)

## License

By contributing to ApraUtils, you agree that your contributions will be licensed under the MIT License.
By contributing to ApraLinuxUtils, you agree that your contributions will be licensed under the MIT License.

---

Thank you for contributing to ApraUtils! Your efforts help make this project better for everyone.
Thank you for contributing to ApraLinuxUtils! Your efforts help make this project better for everyone.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.

PROJECT_NAME = "ApraUtils"
PROJECT_NAME = "ApraLinuxUtils"

# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
Expand Down
Loading