Tag: GitHub

GitHub to replace ‘master’ with ‘main’ starting next month

github-master.png

Starting next month, all new source code repositories created on GitHub will be named “main” instead of “master” as part of the company’s effort to remove unnecessary references to slavery and replace them with more inclusive terms.

GitHub repositories are where users and companies store and synchronize their source code projects.

By default, GitHub uses the term “master” for the primary version of a source code repository. Developers make copies of the “master” on their computers into which they add their own code, and then merge the changes back into the “master” repo.

“On October 1, 2020, any new repositories you create will use main as the default branch, instead of master,” the company said.

Existing repositories that have “master” set as the default branch will be left as is.

“For existing repositories, renaming the default branch today causes a

Read More

Microsoft’s GitHub: CLI 1.0 is out, so you can now do GitHub tasks from the terminal

GitHub has released GitHub CLI 1.0, a command-line tool that lets developers create and check on pull requests and issues from the terminal. 

GitHub released CLI in beta this February for GitHub Team and Enterprise Cloud customers, but back then not for its self-hosted product for private repositories, GitHub Enterprise Server. 

Now that GitHub CLI has exited beta, it is available to use on repositories hosted on GitHub Enterprise Server 2.2 and above. Apparently, it was the most-requested feature during the beta phase.

SEE: 10 ways to prevent developer burnout (free PDF) (TechRepublic)

The Microsoft-owned code-hosting site says users can run their GitHub workflow from the terminal, from issues through to releases. 

Users can also call the GitHub API to script many actions, set a custom alias for any command, and connect to GitHub Enterprise Server and GitHub.com. 

GitHub notes on its page for GitHub CLI that many of its

Read More

Microsoft Teams will now integrate with GitHub to help you manage developer projects

Teams users can subscribe to notifications from GitHub repositories they care about and collaborate on ongoing development projects.

Microsoft Teams users can now collaborate and receive updates on GitHub projects via new integration between the two platforms, which has entered public beta.

Must-read developer content

The update connects Microsoft’s video-conferencing and collaboration software to the popular code-hosting platform, allowing Teams users to subscribe to notifications from development repositories they care about.

SEE: Top 5 programming languages for systems admins to learn (free PDF) (TechRepublic)

Teams users can view details on ongoing GitHub projects, discuss and collaborate on ongoing issues and pull requests, as well as close, reopen and file new issues directly from a Microsoft Teams channel.

The public beta began rolling out on Thursday, September 10.

Writing on the GitHub blog, Ashok Kirla, a program manager at Microsoft, said: “Developers use GitHub together with a number of other platforms,

Read More

Microsoft’s new Fluid Framework: Now it’s open-sourced on GitHub

Microsoft has published the code for its new Fluid Framework on GitHub, offering developers a TypeScript library for building “distributed, real-time collaborative web applications”.

The Fluid Framework repository has arrived on GitHub following Microsoft’s announcement at Build 2020 in May that the technology would be open-sourced and would first arrive as Fluid ‘components’ in the Outlook web app and Office.com. The Fluid Framework was announced at Build 2019. 

Microsoft open-sourced Fluid Framework to encourage developers to use it to build new web-based distributed apps for low-latency real-time collaboration. 

SEE: 10 ways to prevent developer burnout (free PDF) (TechRepublic)

Via Fluid components, Microsoft lets Outlook for the Web users embed components in email such as tables, charts, and task lists, which automatically stay up to date. Microsoft wants developers to use the Fluid Framework to explore new ways of collaborating in applications, email and documents. 

Microsoft describes Fluid Framework as a

Read More

Chinese Users Turned GitHub into a Land of Free Covid Speech

The platform’s unique resilience can be explained through “the Cute Cat Theory of Digital Activism,” says Margaret Roberts, a professor studying Chinese censorship at UC San Diego. The theory, posited by internet thinker Ethan Zuckerman, states that if a website pairs sensitive politics with broadly appealing, popular entertainment—say, lolcat memes—the website will be more challenging to censor, because users want access to the Cute Cat. “But in the case of GitHub,” Roberts says, “the Cute Cat just happens to be the world’s open source code.”

Read all of our coronavirus coverage here.

For Chinese authorities, GitHub’s continued presence on the country’s internet poses a familiar dilemma: on one hand, online dissent must be controlled. On the other hand, they are massively invested in the Cute Cat. At the heart of this is the precarious balancing act that the government has been performing over the past two decades: Can it keep

Read More