all: manually drop code comments with file description

This commit is contained in:
Thomas Haller
2019-09-25 13:13:40 +02:00
parent 9683521521
commit abff46cacf
451 changed files with 434 additions and 876 deletions

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env gjs
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2014,2017 Red Hat, Inc.
*/

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Adding an Ethernet connection to NetworkManager in Lua.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local GLib = lgi.GLib

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example changes username in a VPN profile.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Deactivate all active connections (of certain type).
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example gets basic information about NetworkManager.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM

View File

@@ -3,14 +3,13 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example shows how to get addresses, routes and DNS information from
-- NMIP4Config and NMIP6Config (got out of NMDevice)
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Getting and printing all NetworkManager connection in Lua.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local GLib = lgi.GLib

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- Getting basic information about network interfaces known to NetworkManager.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local GLib = lgi.GLib

View File

@@ -3,13 +3,12 @@
--
-- Copyright 2015 Red Hat, Inc.
--
--
-- This example lists Wi-Fi access points NetworkManager scanned on Wi-Fi devices.
-- The example uses libnm library using GObject introspection via Lua lgi module.
-- Most distribution ship the module as lua-lgi package.
-- libnm guide: https://developer.gnome.org/libnm/1.0/
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
--
local lgi = require 'lgi'
local NM = lgi.NM

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2014 Red Hat, Inc.
#

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2017 Red Hat, Inc.
#
import sys

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2015 Red Hat, Inc.
#

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright (C) 2012 Red Hat, Inc.
#

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright (C) 2016 Red Hat, Inc.
#

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright (C) 2015 Red Hat, Inc.
#

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
#
# Copyright 2014 Red Hat, Inc.
#

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2012 - 2014 Red Hat, Inc.
#

View File

@@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2018 - 2019 Red Hat, Inc.
#
# nm-wg-set: modify an existing WireGuard connection profile.
#

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2017 Red Hat, Inc.
#
#
# set and show user-data for a connection:

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
# coding=utf-8
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) 2013 Red Hat, Inc.
#