diff --git a/AUTHORS b/AUTHORS index 4bbeb257..d88798fd 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,3 @@ David Cantrell +Martin Gracik + diff --git a/src/bin/lorax b/src/bin/lorax index fe560b5e..7021a6ed 100755 --- a/src/bin/lorax +++ b/src/bin/lorax @@ -1,5 +1,28 @@ #!/usr/bin/env python +# +# lorax +# lorax executable script +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): David Cantrell +# Martin Gracik +# + import sys import os from optparse import OptionParser, OptionGroup diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index d1a8455b..0a853af0 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -1,3 +1,26 @@ +# +# __init__.py +# lorax main class +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): David Cantrell +# Martin Gracik +# + import sys import os import stat diff --git a/src/pylorax/actions/__init__.py b/src/pylorax/actions/__init__.py index 9f676439..ac0991ee 100644 --- a/src/pylorax/actions/__init__.py +++ b/src/pylorax/actions/__init__.py @@ -1,4 +1,24 @@ -# pylorax/actions/__init__.py +# +# __init__.py +# actions parser +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# import sys import os diff --git a/src/pylorax/actions/base.py b/src/pylorax/actions/base.py index ea987093..6ef79688 100644 --- a/src/pylorax/actions/base.py +++ b/src/pylorax/actions/base.py @@ -1,4 +1,24 @@ -# pylorax/actions/base.py +# +# base.py +# base actions +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# import os import re diff --git a/src/pylorax/config.py b/src/pylorax/config.py index a9640c4b..02dcff91 100644 --- a/src/pylorax/config.py +++ b/src/pylorax/config.py @@ -1,3 +1,25 @@ +# +# config.py +# lorax configuration +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# + import sys import os import re diff --git a/src/pylorax/errors.py b/src/pylorax/errors.py index 56f55e31..b98aa225 100644 --- a/src/pylorax/errors.py +++ b/src/pylorax/errors.py @@ -1,3 +1,25 @@ +# +# errors.py +# lorax errors +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# + class LoraxError(Exception): pass diff --git a/src/pylorax/images.py b/src/pylorax/images.py index 2f80ad22..3d2764ff 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -1,3 +1,25 @@ +# +# images.py +# lorax images manipulation +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# + import sys import os import commands diff --git a/src/pylorax/utils/fileutils.py b/src/pylorax/utils/fileutils.py index b3e499f0..718931ae 100644 --- a/src/pylorax/utils/fileutils.py +++ b/src/pylorax/utils/fileutils.py @@ -1,3 +1,25 @@ +# +# fileutils.py +# functions for working with files +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# + import sys import os import shutil diff --git a/src/pylorax/utils/genmodinfo.py b/src/pylorax/utils/genmodinfo.py index 91265ae1..e0205c57 100644 --- a/src/pylorax/utils/genmodinfo.py +++ b/src/pylorax/utils/genmodinfo.py @@ -1,3 +1,25 @@ +# +# genmodinfo.py +# generation of modinfo +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# + import sys import os import commands diff --git a/src/pylorax/utils/ldd.py b/src/pylorax/utils/ldd.py index ead1d56a..261033e5 100644 --- a/src/pylorax/utils/ldd.py +++ b/src/pylorax/utils/ldd.py @@ -1,4 +1,24 @@ -# pylorax/utils/libutil.py +# +# ldd.py +# library dependencies +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# import os import commands diff --git a/src/pylorax/utils/rpmutils.py b/src/pylorax/utils/rpmutils.py index e14eb60f..ce19bf41 100644 --- a/src/pylorax/utils/rpmutils.py +++ b/src/pylorax/utils/rpmutils.py @@ -1,3 +1,25 @@ +# +# rpmutils.py +# yum and rpm wrappers +# +# Copyright (C) 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Red Hat Author(s): Martin Gracik +# + import sys import os import stat