Bug#910269: pysnmp4 source is inconsistent

2018-10-05 Thread Vincent Bernat
 ❦  4 octobre 2018 12:08 +0200, Michal Arbet :

> Yes , diff looks big , just for sure , ls -la INSTALLED_PATH of pysnmp4
>
> root@sid-builder-pbuilder:/build/python-pysnmp4# ls -la
> /usr/lib/python3/dist-packages/pysnmp/hlapi/
> total 32
> drwxr-xr-x 5 root root 4096 Oct  4 09:56 .
> drwxr-xr-x 8 root root 4096 Sep 26 16:00 ..
> -rw-r--r-- 1 root root  236 Sep 13 23:30 __init__.py
> drwxr-xr-x 2 root root 4096 Sep 26 16:00 __pycache__
> -rw-r--r-- 1 root root 1907 Sep 13 23:30 transport.py
> drwxr-xr-x 4 root root 4096 Sep 26 16:00 v1arch
> drwxr-xr-x 6 root root 4096 Sep 26 16:00 v3arch
> -rw-r--r-- 1 root root 3007 Sep 13 23:30 varbinds.py
>
> For example asyncore folder is totally missing but on github there is >>
> https://github.com/etingof/pysnmp/tree/v4.4.6/pysnmp/hlapi

So, I have the original tarball I've used, it is named pysnmp-4.4.6, but
it looks like master. I suppose the wrong branch has been tagged. So,
I'll do another upload with a fixed tarball.
-- 
Replace repetitive expressions by calls to a common function.
- The Elements of Programming Style (Kernighan & Plauger)


signature.asc
Description: PGP signature


Bug#910269: pysnmp4 source is inconsistent

2018-10-04 Thread Michal Arbet
Hello Vincent,

Yes , diff looks big , just for sure , ls -la INSTALLED_PATH of pysnmp4

root@sid-builder-pbuilder:/build/python-pysnmp4# ls -la
/usr/lib/python3/dist-packages/pysnmp/hlapi/
total 32
drwxr-xr-x 5 root root 4096 Oct  4 09:56 .
drwxr-xr-x 8 root root 4096 Sep 26 16:00 ..
-rw-r--r-- 1 root root  236 Sep 13 23:30 __init__.py
drwxr-xr-x 2 root root 4096 Sep 26 16:00 __pycache__
-rw-r--r-- 1 root root 1907 Sep 13 23:30 transport.py
drwxr-xr-x 4 root root 4096 Sep 26 16:00 v1arch
drwxr-xr-x 6 root root 4096 Sep 26 16:00 v3arch
-rw-r--r-- 1 root root 3007 Sep 13 23:30 varbinds.py

For example asyncore folder is totally missing but on github there is >>
https://github.com/etingof/pysnmp/tree/v4.4.6/pysnmp/hlapi

Thanks,
Michal Arbet

čt 4. 10. 2018 v 11:53 odesílatel Vincent Bernat  napsal:

>  ❦  4 octobre 2018 11:39 +0200, Michal Arbet :
>
> > I found the issue with pysnmp4 packages in debian.
> > Package's source is totally different with source hosted on github
> > repository.
> >
> > What happened with your last upload to salsa repository ?
> > https://salsa.debian.org/python-team/modules/python-pysnmp4
> >
> > Details in bugreport :
> >
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910269
>
> On https://github.com/etingof/pysnmp/releases, 4.4.6 is marked as
> released on September 18th, so maybe the tag has been moved? But the
> commit is from September 13th, so it should be OK. I can check next week
> how is tarball I downloaded and if there is a diff with what's in salsa.
>
> I've used gbp import-orig --uscan, so there is little margin of error on
> my side. And the diff looks big.
> --
> When in doubt, tell the truth.
> -- Mark Twain
>


Bug#910269: pysnmp4 source is inconsistent

2018-10-04 Thread Vincent Bernat
 ❦  4 octobre 2018 11:39 +0200, Michal Arbet :

> I found the issue with pysnmp4 packages in debian.
> Package's source is totally different with source hosted on github
> repository.
>
> What happened with your last upload to salsa repository ?
> https://salsa.debian.org/python-team/modules/python-pysnmp4
>
> Details in bugreport :
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910269

On https://github.com/etingof/pysnmp/releases, 4.4.6 is marked as
released on September 18th, so maybe the tag has been moved? But the
commit is from September 13th, so it should be OK. I can check next week
how is tarball I downloaded and if there is a diff with what's in salsa.

I've used gbp import-orig --uscan, so there is little margin of error on
my side. And the diff looks big.
-- 
When in doubt, tell the truth.
-- Mark Twain


signature.asc
Description: PGP signature


Bug#910269: pysnmp4 source is inconsistent

2018-10-04 Thread Michal Arbet
Hello Vincent,

I found the issue with pysnmp4 packages in debian.
Package's source is totally different with source hosted on github
repository.

What happened with your last upload to salsa repository ?
https://salsa.debian.org/python-team/modules/python-pysnmp4

Details in bugreport :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910269

Thanks,
Michal Arbet


Bug#910269: pysnmp4 source is inconsistent

2018-10-04 Thread Michal Arbet
Package: python3-pysnmp4
Version: 4.4.6-1

Hi, python3-pysnmp4 package is broken because source is  inconsistent .

root@sid-builder-pbuilder:/build/python-pysnmp4# git remote add github
https://github.com/etingof/pysnmp.git
root@sid-builder-pbuilder:/build/python-pysnmp4# git fetch --all

Now diff upstream/4.4.6 tag on salsa  TO v4.4.6 tag on etingof github :

root@sid-builder-pbuilder:/build/python-pysnmp4# git diff upstream/4.4.6
github/release-4.4.6 --stat | tee
 .gitignore |   3 -
 .travis.yml|  21 +-
 CHANGES.txt|  48 --
 README.md  |   9 +-
 THANKS.txt |   1 -
 devel-requirements.txt |   8 +
 docs/source/contents.rst   |   2 +-
 docs/source/docs/api-reference.rst | 199 ++-
 .../sync => asyncio}/agent/ntforg/notification.rst |   2 +-
 .../sync => asyncio}/manager/cmdgen/bulkcmd.rst|   2 +-
 .../sync => asyncio}/manager/cmdgen/getcmd.rst |   2 +-
 .../sync => asyncio}/manager/cmdgen/nextcmd.rst|   2 +-
 .../sync => asyncio}/manager/cmdgen/setcmd.rst |   2 +-
 .../agent/ntforg/notification.rst  |   2 +-
 .../manager/cmdgen/bulkcmd.rst |   2 +-
 .../asyncio => asyncore}/manager/cmdgen/getcmd.rst |   2 +-
 .../manager/cmdgen/nextcmd.rst |   2 +-
 .../asyncio => asyncore}/manager/cmdgen/setcmd.rst |   2 +-
 .../asyncore/sync/agent/ntforg/notification.rst|   0
 .../asyncore/sync/manager/cmdgen/bulkcmd.rst   |   0
 .../asyncore/sync/manager/cmdgen/getcmd.rst|   0
 .../asyncore/sync/manager/cmdgen/nextcmd.rst   |   0
 .../asyncore/sync/manager/cmdgen/setcmd.rst|   0
 .../twisted/agent/ntforg/notification.rst  |   2 +-
 .../asyncio => twisted}/manager/cmdgen/bulkcmd.rst |   2 +-
 .../{v3arch => }/twisted/manager/cmdgen/getcmd.rst |   2 +-
 .../twisted/manager/cmdgen/nextcmd.rst |   2 +-
 .../{v3arch => }/twisted/manager/cmdgen/setcmd.rst |   2 +-
 .../v1arch/asyncore/agent/ntforg/notification.rst  |   8 -
 .../v1arch/asyncore/manager/cmdgen/bulkcmd.rst |   8 -
 .../v1arch/asyncore/manager/cmdgen/getcmd.rst  |   8 -
 .../v1arch/asyncore/manager/cmdgen/nextcmd.rst |   8 -
 .../v1arch/asyncore/manager/cmdgen/setcmd.rst  |   8 -
 .../v3arch/asyncore/agent/ntforg/notification.rst  |   8 -
 .../v3arch/asyncore/manager/cmdgen/bulkcmd.rst |   8 -
 .../v3arch/asyncore/manager/cmdgen/getcmd.rst  |   8 -
 .../v3arch/asyncore/manager/cmdgen/nextcmd.rst |   8 -
 .../v3arch/asyncore/manager/cmdgen/setcmd.rst  |   8 -
 docs/source/docs/pysnmp-architecture.rst   |   2 +-
 docs/source/docs/pysnmp-hlapi-tutorial.rst |   2 +-
 docs/source/docs/tutorial.rst  |   4 +-
 docs/source/download.rst   |  22 +-
 docs/source/examples/contents.rst  |  76 +--
 .../hlapi/asyncio/agent/ntforg/advanced-topics.rst |  17 +
 .../asyncio/agent/ntforg/common-notifications.rst  |  17 +
 .../hlapi/{v3arch => }/asyncio/contents.rst|  30 +-
 .../asyncio/manager/cmdgen/advanced-topics.rst |  29 +
 .../hlapi/asyncio/manager/cmdgen/snmp-versions.rst |  29 +
 .../asyncio/manager/cmdgen/walking-operations.rst  |  17 +
 .../asyncore/agent/ntforg/advanced-topics.rst  |  40 ++
 .../asyncore/agent/ntforg/common-notifications.rst |  17 +
 .../hlapi/{v3arch => }/asyncore/contents.rst   |  34 +-
 .../asyncore/manager/cmdgen/advanced-topics.rst|  40 ++
 .../asyncore/manager/cmdgen/snmp-versions.rst  |  29 +
 .../asyncore/manager/cmdgen/walking-operations.rst |  18 +
 .../asyncore/sync/agent/ntforg/advanced-topics.rst |  28 +
 .../sync/agent/ntforg/common-notifications.rst |  49 ++
 .../agent/ntforg/evaluating-notification-type.rst  |  29 +
 .../sync/agent/ntforg/snmp-v1-trap-variants.rst|  29 +
 .../hlapi/{v3arch => }/asyncore/sync/contents.rst  |  41 +-
 .../sync/manager/cmdgen/advanced-topics.rst|  84 +++
 .../asyncore/sync/manager/cmdgen/mib-tweaks.rst|  48 ++
 .../sync/manager/cmdgen/modifying-variables.rst|  30 +
 .../asyncore/sync/manager/cmdgen/snmp-versions.rst |  72 +++
 .../sync/manager/cmdgen/table-operations.rst}  |   0
 .../sync/manager/cmdgen/transport-tweaks.rst   |  29 +
 .../sync/manager/cmdgen/walking-operations.rst |  18 +
 .../trollius/agent/ntforg/common-notifications.rst |  17 +
 .../hlapi/{v3arch => }/trollius/contents.rst   |  22 +-
 .../trollius/manager/cmdgen/snmp-versions.rst  |  29 +
 .../trollius/manager/cmdgen/walking-operations.rst |  17 +
 .../hlapi/twisted/agent/ntforg/advanced-topics.rst |  17 +
 .../twisted/agent/ntforg/common-notifications.rst  |  27 +
 .../hlapi/{v3arch => }/twisted/contents.rst|  30 +-
 .../twisted/manager/cmdgen/advanced-topics.rst |  2