Integration between Github Issues and Netbeans - version-control

Is posible to integrate the project issue tracker of Github into Netbeans to automatize the add, change or remove issues trough the IDE.
Thanks

It seems the current answer is no (at least I could not find anything in the mailing list or even the bug database)
Therefore I opened a corresponding report for an enhancement. Feel free to register and vote on it.

It's not really needed to have this integration, since you can comment on or close GitHub issues through the git comment.
Examples:
Reimplement feature XYZ as described in #123
Removed extra spaces in foo. Fixes #148
Working on integration with bar. #99 and octocat/bar#20
Read this blog post

This integration is available in NetBeans 12.
From the Window menu, select Tasks. In the Tasks tab, add a repository by clicking the icon on the right side of the repository header.
A dialog appears. Select GitHub Issues as the Connector.
You'll need an OAUTH token, known as a GitHub Personal Access Token. To create one, visit github.com, log into your account. Click on your account icon in the upper right corner and select Settings from this pulldown menu.
Now click Developer settings on the navigation menu on the left. Click Personal access tokens on the new menu on the left. Click Generate new token. Put a descriptive name in the Note field.
Select the appropriate permissions. Unfortunately I'm not certain what minimum permissions are required, but those I selected, which seem to work, are: notifications, read:discussion, read:enterprise, read:gpg_key, read:public_key, read:user, repo, workflow. Thanks in advance if you can provide further insight here.
Next click the Generate token button. You'll be presented with the token secret once and only once. Copy it and paste into the Oauth Token field in the NetBeans dialog from above. Click Add repository.
A dialog appears prompting you to select the username and repo for which you'd like to track Issues. Choose one and click Ok. This will populate the remaining fields in the Create Task Repository dialog. Click Connect to verify and you should see a success message.
Click Ok on the popup, and again on the dialog, and you should see your new repo and list of Issues.
And that's it. You can now open Issues, assign them, add comments, manage labels, change issues to PRs, create milestones, manage templates, and so forth.

Related

The "Actions" tab on GitHub is missing

I'm trying to create a GitHub action, but the "Actions" tab doesn't exist in my repository:
This GitHub documentation page advised navigating to the "Settings" tab, then selecting "Actions" from the left sidebar and enabling them.
My next thought was that my organization disabled actions, so I followed the steps on this GitHub documentation page about managing actions for your organization. But again, I go to Your organizations -> Settings and look for "Actions" in the left sidebar, and it's nowhere to be found.
Then I think that maybe I'm missing Admin privileges, so I check the "People" tab under my organization, and I'm an "Owner," which my research tells me is the same as Admin.
So here we are. Any ideas as to why the Actions tab is missing from everywhere in my organization?
I had to go to Settings > Action > Allow all actions
While I wasn't able to solve my problem, I'm going to mark it as resolved - see GuiFalourd's comment about configuring Blob storage (references here and here). I don't think my organization has a GitHub Enterprise Server account, and it looks like you need to pay extra for services like that. So while I can't solve the problem myself, hopefully this points someone with the same problem in the right direction.

How to add reviewers to GitHub repository?

I created a repository on GitHub and want to add a couple of friends to review my pull requests.
I used this source and when I enter the names of some GitHub users the Reviewers bar stays empty.
How to add arbitrary reviewers to my GitHub repository?
You can simply send the pull request link to your friends, then they can click the files changed button at the top:
Then, they can look through the diffs, and click the blue plus button on any line where they want to leave a comment:
Then they can click it, and add a comment and start a review:
You don't need to formally invite them since anyone that can read the repository can review pull requests. If you want to give them a github notification, you can mention them in the comments.

How to reference users across projects in Azure DevOps?

I have 2 private projects in my Azure DevOps Organization, say Project A and Project B. I need to mention a User in Project B from a work item in Project A. I'm able to do it. But the mentioned user is not able to view the Work Item as he don't have access. Any Solution or Work Around to achieve this?
Giving Reader Access permissions will solve the problem of user being able to view the work item.
If you haven't already given reader access to the user, try giving it and see if that helps.
See the below Image for reference :
Click on Project Settings -> Permissions -> Readers -> Click on Add -> and add that user.
Currently we cannot set permissions for a single work item. If you would like that feature, please use the below link and create a request for this feature: https://developercommunity.visualstudio.com/content/idea/post.html?space=21. This link is directly monitored by the product team and they will look into this request and share their views on the same. If lot of users request for the same feature, they will add this item to backlog to implement in the future sprints.

In Azure DevOps I cannot add a User to my Team

We have a DevOps project we've been using for over a year now and we needed to add a new developer to the team. I was able to add the user to the organization, he replied to the invite, and I have added him to the contributor group.
After adding him I then went to my project and opened up that project's Team Settings. When I click Add and try to find his name I am getting a spinning status graphic and "Loading..." but it does not find the user. It does not give me an error or a "No Results Found". Eventually it just resets back as though I first landed on the page.
I thought this could be a permissions issue so I removed an existing user in the group. Right after removing I tried to re-add the user and cannot. I get the same results. I know this user is using the project and has permission to get the code and check in changes. So it does not seem to be an issue with the original new user.
My next move was to try to do this using the Azure CLI but it turns out that adding a user to a project is not currently supported by the CLI, only adding the user to the organization is currently supported. I also searched for this particular error and can't find anyone else having this issue.
There was a [[[bug]]] in the Azure portal. Users could not be added from the Team page. However, I had a widget on my dashboard for Users and it had the ability to add a User. When I used this widget I was able to add users. I could add the ones I deleted during testing and the new user.

How to not see an old GitHub repo anymore

In my list of repos I have an old repo that I worked on for 1 hr.
I would like to not see it anymore, I would like to not be involved with it anymore, I want it off of my screen.
How do I do it?
Here is a screen of my repo list:
It sounds like you want to delete the repo. That will completely remove it though, not only from that list. You won't be able to access it again.
You might want to save of backup first if there is any chance you will want to access it later, especially if the work you did hasn't been pushed into the project that you forked it from.
You can delete a repo by going to the "Settings" page for that repo (click on the repo in that list and "Settings" is a tab on the next page), then scrolling all the way to the bottom and clicking on "Delete this repository".
I think what you are wanting to ask is how to delete a GitHub repository.
Deleting a repository as #Paulpro rightly said will remove all your data from the given account so if you need any data it will be wise to take a backup.
How to delete a Github Account:
Login to your Github Account
Open the repository you wish to delete
On the menu of Repository click on Settings (the menu contains commits, settings, contributors etc.The last tab is settings there.)
Scroll down to the very bottom, the last option will be delete repository, click on that
In a confirmation box that comes enter the repository name as it is and then confirm to delete the repository.
Note These steps are to delete a repository.If you just wish to hide a repository from the public you will need a private repository option which requires a paid Github Account.