Compare commits
No commits in common. "21d8dbe1d1a3b678fb3fff026917bbe6d1d1a62e" and "c94962e2f1054b387d2faba3bc663f6f9401a396" have entirely different histories.
21d8dbe1d1
...
c94962e2f1
|
@ -25,7 +25,7 @@ Using the e-mail address you provided during GPG key generation, run `build-deb.
|
|||
|
||||
```bash
|
||||
./build-deb.sh john@doe.com
|
||||
apt update && apt install build/torch-agent_0.0.2-1_all.deb
|
||||
apt update && apt install build/torch-agent_0.0.1-1_all.deb
|
||||
```
|
||||
|
||||
This will:
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,5 +1,5 @@
|
|||
torch-agent (0.0.2-1) stable; urgency=medium
|
||||
torch-agent (0.0.1-1) unstable; urgency=medium
|
||||
|
||||
* Update
|
||||
* Initial release
|
||||
|
||||
-- Benjamin Dweck <bjdweck@gmail.com> Tue, 08 Oct 2020 19:46:22 +0200
|
||||
-- Benjamin Dweck <bjdweck@gmail.com> Tue, 06 Oct 2020 15:53:02 +0200
|
||||
|
|
2
debian/files
vendored
Normal file
2
debian/files
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
torch-agent_0.0.1-1_all.deb net optional
|
||||
torch-agent_0.0.1-1_amd64.buildinfo net optional
|
|
@ -40,7 +40,7 @@ In a separate terminal window, run the subscriber:
|
|||
```bash
|
||||
cd ..
|
||||
./make-pkg.sh john@doe.com
|
||||
cp -f build/torch-agent_0.0.2-1_all.deb example/
|
||||
cp -f build/torch-agent_0.0.1-1_all.deb example/
|
||||
cd example
|
||||
```
|
||||
|
||||
|
|
4
example/Vagrantfile
vendored
4
example/Vagrantfile
vendored
|
@ -64,7 +64,7 @@ Vagrant.configure("2") do |config|
|
|||
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
|
||||
# documentation for more information about their specific syntax and use.
|
||||
|
||||
config.vm.provision "file", source: "torch-agent_0.0.2-1_all.deb", destination: "~/"
|
||||
config.vm.provision "file", source: "torch-agent_0.0.1-1_all.deb", destination: "~/"
|
||||
config.vm.provision "file", source: "agent-config", destination: "~/torch-conf"
|
||||
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
|
@ -72,7 +72,7 @@ Vagrant.configure("2") do |config|
|
|||
sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts"
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y ./torch-agent_0.0.2-1_all.deb
|
||||
sudo apt install -y ./torch-agent_0.0.1-1_all.deb
|
||||
|
||||
sudo cp -f torch-conf/* /etc/torch/
|
||||
sudo chown -R torch /etc/torch
|
||||
|
|
BIN
example/torch-agent_0.0.1-1_all.deb
Normal file
BIN
example/torch-agent_0.0.1-1_all.deb
Normal file
Binary file not shown.
Binary file not shown.
3
setup.py
3
setup.py
|
@ -1,13 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
import setuptools
|
||||
import torch_agent
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
setuptools.setup(
|
||||
name="torch-agent",
|
||||
version=torch_agent.__version__,
|
||||
version="0.0.1",
|
||||
author="B.J. Dweck",
|
||||
author_email="bjdweck@gmail.com",
|
||||
description="TORch: Iluminate the Way to your Node",
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "0.0.2"
|
||||
__version__ = "0.0.1"
|
||||
|
|
Loading…
Reference in New Issue
Block a user