-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
> ### will begin on December 5th and will complete on January 17th, 2025. #11273
Comments
FYI, the .Devcontainer is root so if you're going to be working on the CI/CL pipeline with the runners, please be careful and keep the work on these ISOs updates IN THE .DEVCONTAINER PLEASE! I namely say this to myself, because I am going to go ahead and try my best to get the Mac imaging updated so all three entities (Apple, Linux, Microsoft) will be able to have equal footing and competition with one another for the start of 2025. And fyi, still have yet to get my first pay check!!!!! But I'll keep doing the charity work till someone notices me, senpai.... one day. |
The loss of sqlcmd is breaking a lot of our existing actions. Is there a separate action I can run to add this is (like I do with dotnet, etc)? |
Hi @jommeke22f , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating. |
have you considered libsql as the area that is causing issue? You may not have rebuilt the SQL library itself. |
oh you mean the .MD of lisql library.... yeah that's easy hold on. |
SQL Library Source Code libsql.c typedef struct { SQLConnection *sql_connect(const char *db_path) {
} void sql_disconnect(SQLConnection *conn) { char *sql_get_last_error(SQLConnection *conn) { int sql_execute(SQLConnection *conn, const char *query) {
} void sql_query(SQLConnection *conn, const char *query, void (*callback)(void *, int, char **, char **)) {
} c c int main() {
} libsql - Lightweight SQL LibraryOverview
Features
Usage1. Connect to a DatabaseSQLConnection *conn = sql_connect("database.db");
if (!conn) {
fprintf(stderr, "Connection failed: %s\n", sql_get_last_error(conn));
}
2. Execute a Query
c
Copy code
const char *query = "CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT);";
if (sql_execute(conn, query) != SQLITE_OK) {
fprintf(stderr, "Query failed: %s\n", sql_get_last_error(conn));
}
3. Retrieve Data with a Callback
c
Copy code
const char *select_query = "SELECT * FROM users;";
sql_query(conn, select_query, print_query_results);
Define the callback function:
c
Copy code
void print_query_results(void *NotUsed, int argc, char **argv, char **azColName) {
for (int i = 0; i < argc; i++) {
printf("%s = %s\n", azColName[i], argv[i] ? argv[i] : "NULL");
}
}
4. Disconnect from the Database
c
Copy code
sql_disconnect(conn);
Installation
Clone the repository:
bash
Copy code
git clone https://github.com/example/libsql.git
Compile your application with libsql.c:
bash
Copy code
gcc -o app app.c libsql.c -lsqlite3
License
This project is licensed under the MIT License.
yaml
Copy code
---
This provides both the the liSQL itself, and this provides the .MD part for documenting the library of SQL. |
I will reiterate one more time, FAM. FYI, the .Devcontainer is root so if you're going to be working on the CI/CL pipeline with the runners, please be careful and keep the work on these ISOs updates IN THE .DEVCONTAINER PLEASE! I namely say this to myself, because I am going to go ahead and try my best to get the Mac imaging updated so all three entities (Apple, Linux, Microsoft) will be able to have equal footing and competition with one another for the start of 2025. And fyi, still have yet to get my first pay check!!!!! But I'll keep doing the charity work till someone notices me, senpai.... one day. |
Thank you for the detailed announcement about Ubuntu 24.04 becoming the default version for the Impact of Breaking Changes
Steps for Mitigation1. Switch Back to Ubuntu 22.04 (Temporary):
2. File Issues for Missing Tools:
3. Runtime Installation Workarounds:
Blank Filling for Missing DataTable: Software Differences Between Ubuntu 22.04 and Ubuntu 24.04Tool Name | Ubuntu 22.04 | Ubuntu 24.04 | Notes -- | -- | -- | -- Clang | 13., 14. | 14., 18. (default) | The most recent versions are installed. GCC | 9., 13. | 12., 14. | Older versions dropped; only recent versions retained. Heroku | Latest | Removed | Maintenance reasons. Install during runtime if needed. MS SQL Server Tools | Latest | Removed | Use installation scripts for sqlcmd. Node.js | 16., 18. (default) | 18., 20. (default) | Node 16 removed; default is now 20.*. Terraform | Latest | Removed | Maintenance reasons. Use runtime installation. R | Latest | Removed | R packages must be installed during runtime if necessary. Ruby | 3.0.* (default), 3.1.* | 3.2.* | Ensure Ruby version compatibility; update scripts if required.Detailed Recommendations for Workflow Adjustments1. Handling Default Version Changes
2. Handling Removed Packages
3. Switching Labels Temporarily
ConclusionThe switch to Ubuntu 24.04 as the default version in GitHub Actions and Azure DevOps introduces significant changes but also provides an opportunity to modernize workflows. While it may disrupt some existing workflows, careful planning and mitigation steps, as outlined above, can ensure a smooth transition. Let us know if further clarification or support is needed to implement these changes effectively! |
Hi @jommeke22f , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating. |
No I’m not a bug a @bearycool11 is a human being. However there are some bugs to be fixed that I have referenced above. @codingrabbitai care to elaborate? |
That being said, the above I have stated is the fix to the bug issue, so I’m glad that got reported, thank you!!! |
You can use our action: https://github.com/Lombiq/GitHub-Actions/blob/dev/.github/actions/install-sqlcmd/action.yml |
We are also having issues. Switched to |
Originally posted by @Kya123iu in #10636 (comment)
The text was updated successfully, but these errors were encountered: