Skip to content
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

Migrate module support for Projects (classic) to Projects #380

Open
HowardWolosky opened this issue Dec 15, 2022 · 0 comments
Open

Migrate module support for Projects (classic) to Projects #380

HowardWolosky opened this issue Dec 15, 2022 · 0 comments
Labels
api completeness This is basic API functionality that hasn't been implemented yet. api-project Work to complete the API's defined here: https://developer.github.com/v3/projects enhancement An issue or pull request introducing new functionality to the project. help wanted Anyone in the community is welcome to do this work up for grabs Anyone in the community is welcome to do this work

Comments

@HowardWolosky
Copy link
Member

Feature Idea Summary

GitHub released a new version of Projects in July 2022 which is built on top of Issues.

When that happened, they deprecated the old version of Projects by renaming them "Projects (classic)", and turning off the ability for users to create new Classic Projects. You can still manipulate existing Classic Projects, but any new Projects created are the new version (which are simply named "Projects".

Feature Idea Additional Details

From the "Projects (classic)" documentation:

  • These endpoints only interact with projects (classic). To manage Projects, use the GraphQL API. For more information, see "Using the API to manage projects."
  • To create a new classic project, the organization, user, or repository must already have at least one classic project.

This work will require renaming the existing API's to follow a pattern like Get-GitHubProject to Get-GitHubProjectClassic (as well as the file names) so that the current API names can be repurposed for the new API set.

Requested Assignment

This work is up-for-grabs.

Operating System

OsName               : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.19041.2364
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.2364
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module Version

Running: 0.16.1
Installed:
@HowardWolosky HowardWolosky added enhancement An issue or pull request introducing new functionality to the project. up for grabs Anyone in the community is welcome to do this work api completeness This is basic API functionality that hasn't been implemented yet. help wanted Anyone in the community is welcome to do this work api-project Work to complete the API's defined here: https://developer.github.com/v3/projects labels Dec 15, 2022
HowardWolosky added a commit that referenced this issue Dec 16, 2022
Updated all Pester tests in the project to support Pester v5.  The main benefit that we get out of this, besides just moving on to the currently supported version of the test framework, is that we can now execute individual tests directly within VS Code.

In the process of doing this migration:

* Removed repository Code of Conduct tests from GitHubMiscellaneous.tests.ps1 since the command has been deprecated by GitHub
* Updated GitHubReleases.tests.ps1 to account for pre-releases
* Updated run-unitTests.yaml and CONTRIBUTING.md to have the Pester v5.3.3 install command, as well as to update its invocation commands.
* Removed the language-specific error messages in some `-Throws` tests because the wording keeps changing.
* Updated this project's VSCode settings.json to take advantage of the fact that the tests are now Pester 5 compatible.  This allows each individual block to have a Run/Debug link associated with it.  ([More info](https://pester.dev/docs/usage/vscode)).
* Disabled all of the Projects/ProjectCards/ProjectColumns tests because Classic Projects have been deprecated by GitHub (#380 for more info)

Fixes #194 

Co-authored-by: Howard Wolosky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api completeness This is basic API functionality that hasn't been implemented yet. api-project Work to complete the API's defined here: https://developer.github.com/v3/projects enhancement An issue or pull request introducing new functionality to the project. help wanted Anyone in the community is welcome to do this work up for grabs Anyone in the community is welcome to do this work
Projects
None yet
Development

No branches or pull requests

1 participant