feat(sccm): Works with multiple configurations#120
Conversation
|
Yeah! :D I have fix some odd things that made that menu didn't work at expected. I will prepare the commit and push here. |
3829d0e to
b71492f
Compare
|
Done! it's ready for review. It has add button and the configs can be purged, config form use standard form html with navigation and historical log. |
| . "<br />" . $DB->error()); | ||
|
|
||
| } else { | ||
| if (!self::isIdAutoIncrement()) |
There was a problem hiding this comment.
why did you alter ID column from autoincrement to autoincrement ?
for me, you just need to test whether the name and collection fields are present, otherwise add them
|
@stonebuzz how to have the commits to keep your commits? |
|
git fetch my_repo (yours) git pull --rebase my_repo my_branch (multi) |
|
@stonebuzz I have a question, what is the |
an old thing that's about to blow up ^^ don't worry about it now, I'll clean up later |
|
Let me know when you've finished so I can do another review |
I think the only thing missing is the autoincrement issue, I have answered the review, I'm waiting for your response. |
|
Hi @tolemac I've corrected and refactored the code. Can you try this new version? |
I have pushed the code to production. I have deactivate de plugin, and reactivate it. I have execute on demand Collect and Push automatic actions. All work as expected, no errors on It's ok for me. |
|
Thanks, @tolemac, I'll have it tested by a few people who use it before I merge it. |
Totally agree! Thanks in advance. I will stay tunned. |
|
@stonebuzz some news about that? still in testing? Best regards! |
|
Hi again! :) Something about that? |
|
Hi again! ... I don't know what to think ... We want to upgrade to version 11, I will try to resolve conflicts and try to make work fine this PR. I would appreciate some news from you, and know what you think about that. |
|
Hi @tolemac I might be a bit busy with the release of GLPI version 11, but I promise to keep an eye on this PR to support you. |
|
I'm going to update my GLPI to last version and test it. I tell you when I have tested it. |
|
GLPI updated. First problem: I have this function: we can't execute a query using global $DB ?? how to do now? |
|
Ok, I have solved some issues. I have it working with 11.0.7 I would like to squash the commits to leave it in only one commit, but I will wait for your review. |
|
Hi @tolemac, Thank you for your feedback. GLPI 11 has now been officially released and, as promised, I finally had the opportunity to take a look at this topic 😊 I would like to suggest testing the following PR: This PR reintroduces the requested feature (support for multiple SCCM configurations) while following GLPI development best practices as closely as possible and simplifying the data migration process. At the moment, this version does not yet support specifying SCCM collections. This will be addressed in a second step in order to keep the scope of the PR focused and easier to review. Could you please test this new version and share your feedback? Unfortunately, we do not currently have an SCCM environment available for testing on our side. Thank you in advance, and thank you as well for your work — it has been very helpful to me. Best regards, |
|
Hi @stonebuzz !! thanks for your support!! Unfortunately, I can't run the test without specifying the collection name. We belong to a very large group of groups, and if I don't filter by collection name, thousands and thousands of computers that don't belong to my group would be created... we put it in to limit this ... I can download the code and add collection name support and test it. Are you agree? |
|
Yes, that sounds good. However, I’d like the current PR to be finalized and merged before adding this feature. |
|
Ok, I will try to test the new PR without run the collect method. See you. |
Hi again!
I have fear about #109, this PR have serious changes and we are working in production with code that is not in this repository, after #109 has been merged I think it will be more difficult for us to add this change, due to it we would like to make a effort to add this PR to the repo.
This PR is the same as #102, we think that it's a good feature and it has been working all days in the last year in our GLPI installation.
The feature is fully functional the only thing missing is a button to add a new SCCM Configuration.
I would like to add this but I haven't been able to...
Can you help me?