bistromath / gr-smartnet

Motorola Smartnet II trunking logging scanner for Gnuradio
https://www.cgran.org/wiki/Smartnet
GNU General Public License v3.0
48 stars 23 forks source link

Added CI/CD Support for this Project #6

Closed Montana closed 2 years ago

Montana commented 2 years ago

Hey all,

I added CI/CD support for this radio trunking project using Travis. I also made a pull request.

dist: xenial 
language: cpp
compiler:
  - gcc
before_install:
  - sudo apt-get install swig libcurl4-openssl-dev r-base-dev r-base-core groff gnuplot autoconf automake autotools-dev m4 libtool liblzma-dev libbz2-dev libyaml-perl libtool-bin 
  - (wget http://ftp.gnu.org/gnu/automake/automake-1.11.4.tar.gz && tar -zxf automake-1.11.4.tar.gz && cd automake-1.11.4 && ./configure && sudo make && sudo make install)
  - automake --version
  - autoconf --version
  - libtool --version
  - (rm -rf htslib && wget https://github.com/samtools/htslib/archive/1.4.zip && unzip 1.4.zip && mv htslib-1.4/ htslib && cd htslib && autoheader && autoconf && ./configure && make && sudo make install && cp Makefile Makefile.in)
  - sudo ln -s /usr/share/aclocal   /usr/local/share/aclocal
  - autoheader
  - autoreconf
script: 
  - chmod u+x ./configure

# .travis.yml file by Montana Mendy for this repo (motorola-trunking-sys)
bistromath commented 2 years ago

I am extremely confused.

  1. This project has not been maintained for ten years; it is kept here as a starting point, should someone wish to use the blocks in their own project.
  2. In what world would this Travis file build gr-smartnet? None of the prerequisites (Gnuradio, for instance) are installed; the Gnuradio version this repository depends on has not been maintained in nine years.
  3. "HTSlib is an implementation of a unified C library for accessing common file formats, such as SAM, CRAM and VCF, used for high-throughput sequencing data, and is the core library used by samtools and bcftools." Why on earth would it be required for building gr-smartnet?

Building this repo for continuous integration faces several obstacles. I don't think this pull request satisfies any of them. What are you hoping to accomplish with this? If you are interested in porting gr-smartnet to Gnuradio 3.8/3.9, I'm happy to provide assistance.

Montana commented 2 years ago

I am interested in porting gr-smartnet to Gnuradio 3.9 - (which is one of the main drivers for this.) I appreciate the response.

bistromath commented 2 years ago

Happy to assist in that. The first step would be creating a new GR3.9 project using gr_modtool. Next move each of the blocks in lib/ into corresponding blocks in the new project (letting gr_modtool handle the boilerplate of creating the blocks), and last updating the top-level application and python blocks in python/. The latter part will likely take the most effort, as it's where most of the bitrot will be found.

Montana commented 2 years ago

Thanks @bistromath, I will try and document the cleaning of the entropy of the code, so it might help others. I appreciate your assistance and top-down view on this subject matter.