瀏覽代碼

rbpf: Rename "master" branch into "main" everywhere in the repo

We have renamed the "master" branch as "main": update wherever relevant
in the repository.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Quentin Monnet 2 年之前
父節點
當前提交
b7d4bb74ab
共有 4 個文件被更改,包括 10 次插入10 次删除
  1. 1 1
      .appveyor.yml
  2. 1 1
      .github/workflows/test.yaml
  3. 6 6
      README.md
  4. 2 2
      src/lib.rs

+ 1 - 1
.appveyor.yml

@@ -1,7 +1,7 @@
 version: 1.0.{build}
 branches:
   only:
-    - master
+    - main
 os:
   - Visual Studio 2015
 clone_depth: 1

+ 1 - 1
.github/workflows/test.yaml

@@ -4,7 +4,7 @@ on:
   pull_request: {}
   push:
     branches:
-      - master
+      - main
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }}

+ 6 - 6
README.md

@@ -8,8 +8,8 @@
 Rust (user-space) virtual machine for eBPF
 
 [![Build Status](https://github.com/qmonnet/rbpf/actions/workflows/test.yaml/badge.svg)](https://github.com/qmonnet/rbpf/actions/workflows/test.yaml)
-[![Build status](https://ci.appveyor.com/api/projects/status/ia74coeuhxtrcvsk/branch/master?svg=true)](https://ci.appveyor.com/project/qmonnet/rbpf/branch/master)
-[![Coverage Status](https://coveralls.io/repos/github/qmonnet/rbpf/badge.svg?branch=master)](https://coveralls.io/github/qmonnet/rbpf?branch=master)
+[![Build status](https://ci.appveyor.com/api/projects/status/ia74coeuhxtrcvsk/branch/main?svg=true)](https://ci.appveyor.com/project/qmonnet/rbpf/branch/main)
+[![Coverage Status](https://coveralls.io/repos/github/qmonnet/rbpf/badge.svg?branch=main)](https://coveralls.io/github/qmonnet/rbpf?branch=main)
 [![Crates.io](https://img.shields.io/crates/v/rbpf.svg)](https://crates.io/crates/rbpf)
 
 * [Description](#description)
@@ -82,8 +82,8 @@ The API is pretty well documented inside the source code. You should also be
 able to access [an online version of the documentation from
 here](https://docs.rs/rbpf/), automatically generated from the
 [crates.io](https://crates.io/crates/rbpf) version (may not be up-to-date with
-master branch). [Examples](../../tree/master/examples) and [unit
-tests](../../tree/master/tests) should also prove helpful. Here is a summary of
+the main branch). [Examples](../../tree/main/examples) and [unit
+tests](../../tree/main/tests) should also prove helpful. Here is a summary of
 how to use the crate.
 
 Here are the steps to follow to run an eBPF program with rbpf:
@@ -676,8 +676,8 @@ integration with other projects, the rbpf crate is distributed under the terms
 of both the MIT license and the Apache License (Version 2.0).
 
 See
-[LICENSE-APACHE](https://github.com/qmonnet/rbpf/blob/master/LICENSE-APACHE)
-and [LICENSE-MIT](https://github.com/qmonnet/rbpf/blob/master/LICENSE-MIT) for
+[LICENSE-APACHE](https://github.com/qmonnet/rbpf/blob/main/LICENSE-APACHE)
+and [LICENSE-MIT](https://github.com/qmonnet/rbpf/blob/main/LICENSE-MIT) for
 details.
 
 ## Inspired by

+ 2 - 2
src/lib.rs

@@ -4,8 +4,8 @@
 // Copyright 2023 Isovalent, Inc. <quentin@isovalent.com>
 
 //! Virtual machine and JIT compiler for eBPF programs.
-#![doc(html_logo_url = "https://raw.githubusercontent.com/qmonnet/rbpf/master/misc/rbpf.png",
-       html_favicon_url = "https://raw.githubusercontent.com/qmonnet/rbpf/master/misc/rbpf.ico")]
+#![doc(html_logo_url = "https://raw.githubusercontent.com/qmonnet/rbpf/main/misc/rbpf.png",
+       html_favicon_url = "https://raw.githubusercontent.com/qmonnet/rbpf/main/misc/rbpf.ico")]
 
 // Test examples from README.md as part as doc tests.
 #![doc = include_str!("../README.md")]