-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kissnet] create a new port #27529
[kissnet] create a new port #27529
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/kissnet/vcpkg.json b/ports/kissnet/vcpkg.json
index 9c2a8fb..3e8b55c 100644
--- a/ports/kissnet/vcpkg.json
+++ b/ports/kissnet/vcpkg.json
@@ -6,6 +6,6 @@
"license": "MIT",
"dependencies": [
"vcpkg-cmake",
- "vcpkg-cmake-config"
+ "vcpkg-cmake-config"
]
}
Use the version scheme "version-date" instead of "version-string" in port "kissnet".
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 2de7f388c5aac1f7d63c5986fe9b1b60e7d6bbb5 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index a10aafd..2ebad6e 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3432,6 +3432,10 @@
"baseline": "2021-11-14",
"port-version": 0
},
+ "kissnet": {
+ "baseline": "2022-10-18",
+ "port-version": 0
+ },
"klein": {
"baseline": "2021-05-09",
"port-version": 0
You have modified or added at least one portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/kissnet/portfile.cmake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 2de7f388c5aac1f7d63c5986fe9b1b60e7d6bbb5 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 2adee1d..ca2bf4a 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3432,6 +3432,10 @@
"baseline": "2021-11-14",
"port-version": 0
},
+ "kissnet": {
+ "baseline": "2022-10-18",
+ "port-version": 0
+ },
"klein": {
"baseline": "2021-05-09",
"port-version": 0
Hello @FrankXie05, is there any comment yet regarding the addition of this new port? |
@BullyWiiPlaza Please bump the port version. See documentation. |
Co-authored-by: Frank <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 2de7f388c5aac1f7d63c5986fe9b1b60e7d6bbb5 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 6764d8e..4800cb8 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3432,6 +3432,10 @@
"baseline": "2021-11-14",
"port-version": 0
},
+ "kissnet": {
+ "baseline": "2022-10-18",
+ "port-version": 0
+ },
"klein": {
"baseline": "2021-05-09",
"port-version": 0
Okay, it's finished. |
@BullyWiiPlaza If we use |
Co-authored-by: Frank <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for kissnet have changed but the version was not updated
version: 2022-10-18
old SHA: 8b809b957ce07b9f184f877f0de9aba146a6fe3e
new SHA: 9c40840472f4c0cdd58f87052f30af7fac13bddd
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
Hi, I already used |
@BullyWiiPlaza If you use cmake, |
The port is said to be header-only. Does it really need patching for unofficial config, when it is enough to provide |
For the header-only port, we actually only need the install header files. |
So, how do we proceed here to finish the port? I managed to use the port without specifying it in the |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for kissnet have changed but the version was not updated
version: 2022-10-18
old SHA: 9c40840472f4c0cdd58f87052f30af7fac13bddd
new SHA: b711745f3e0d529e5d641e280af4d5a270d09dd9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
@FrankXie05 The changes are applied now, I considered |
New port checklist:
|
116f7a5
Co-authored-by: Frank <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for kissnet have changed but the version was not updated
version: 2022-10-18
old SHA: b711745f3e0d529e5d641e280af4d5a270d09dd9
new SHA: cbe9ef2ee8a59255a8e5d9e79a81db7bfa3927b4
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
Thanks! |
This adds the new port kissnet.
Which triplets are supported/not supported? Have you updated the CI baseline?
https://github.com/Ybalrid/kissnet#supported-platforms
Does your PR follow the maintainer guide?
Yes.