Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/avro
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: release-1.10.2
Choose a base ref
...
head repository: apache/avro
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release-1.11.0
Choose a head ref
Loading
Showing 547 changed files with 37,931 additions and 25,857 deletions.
29 changes: 0 additions & 29 deletions .github/autolabeler.yml

This file was deleted.

74 changes: 74 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
version: 2
updates:

- package-ecosystem: "nuget"
directory: "/lang/csharp/"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 20

- package-ecosystem: "maven"
directory: "/lang/java/"
schedule:
interval: "weekly"
day: "sunday"
ignore:
# Jetty >= 10 requires JDK 11
- dependency-name: "org.eclipse.jetty:jetty-server"
versions:
- ">= 10.0.0"
- dependency-name: "org.eclipse.jetty:jetty-servlet"
versions:
- ">= 10.0.0"
- dependency-name: "org.eclipse.jetty:jetty-util"
versions:
- ">= 10.0.0"
open-pull-requests-limit: 50

- package-ecosystem: "npm"
directory: "/lang/js"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 20

- package-ecosystem: "pip"
directory: "/lang/py/"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 20

- package-ecosystem: "bundler"
directory: "/lang/ruby/"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 20

- package-ecosystem: "cargo"
directory: "/lang/rust/"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 20

38 changes: 14 additions & 24 deletions .travis.yml → .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
@@ -16,27 +16,17 @@
# specific language governing permissions and limitations
# under the License.
#
# Pull Request Labeler Github Action Configuration: https://github.com/marketplace/actions/labeler

sudo: required

services:
- docker

matrix:
include:
- language: generic
env:
JAVA=8

- language: generic
env:
JAVA=11

- os: windows
language: bash

before_install: "if [ -x ./.travis/before_install.sh ] ; then ./.travis/before_install.sh ; fi"
install: "if [ -x ./.travis/install.sh ] ; then ./.travis/install.sh ; fi"
before_script: "if [ -x ./.travis/before_script.sh ] ; then ./.travis/before_script.sh ; fi"
script: "if [ -x ./.travis/script.sh ] ; then ./.travis/script.sh ; fi"
after_script: "if [ -x ./.travis/after_script.sh ] ; then ./.travis/after_script.sh ; fi"
C: ["lang/c/**/*"]
C++: ["lang/c++/**/*"]
C#: ["lang/csharp/**/*"]
Java: ["lang/java/**/*"]
Js: ["lang/js/**/*"]
Perl: ["lang/perl/**/*"]
Php: ["lang/php/**/*"]
Python: ["lang/py/**/*"]
Ruby: ["lang/ruby/**/*"]
Rust: ["lang/rust/**/*"]
build: ["**/*Dockerfile*", "**/*.sh", "**/*pom.xml", ".github/**/*"]
website: ["doc/**/*"]
82 changes: 82 additions & 0 deletions .github/workflows/codeql-csharp-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

name: "CodeQL C#"

on:
push:
branches:
- master
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
paths:
- .github/workflows/codeql-csharp-analysis.yml
- lang/csharp/**

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language:
- csharp
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
queries: +security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
82 changes: 82 additions & 0 deletions .github/workflows/codeql-java-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.

# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.

name: "CodeQL Java"
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
paths:
- .github/workflows/codeql-java-analysis.yml
- lang/java/**
- pom.xml

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language:
- java
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
queries: +security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
Loading