Commit Graph

175 Commits

Author SHA1 Message Date
T. Joseph Carter
55cb4757b3 system_ident should use Debian codename on Pi 2018-04-22 18:25:49 -07:00
T. Joseph Carter
4cdb544d53 Merge branch 'master' of https://github.com/RasppleII/a2cloud into refactor 2018-04-22 15:19:33 -07:00
T. Joseph Carter
a3d67123cc Removed a2cScriptURL and renmaed .txt from scripts
Replaced downloading scripts and files from a2cScriptURL with
installation from the source tree.  This obsoletes a2cScriptURL, so it's
been removed.

It made sense to remove the .txt from the script names since I was
rewriting the lines that use them anyway.
2018-04-22 14:44:27 -07:00
T. Joseph Carter
4bee0fee5a a2cDevel -> a2cSource, remove conditionals
Renamed a2cDevel to the now more descriptive a2cSource and remove
conditionals to download individual files as part of the old web
install, since we don't do it that way anymore.
2018-04-22 13:58:21 -07:00
T. Joseph Carter
6fb6a068e2 ivan.sh now properly requires a2cSource to be set
Now a2cloud matches a2server in requiring that ivan.sh be run from a
source tree.  That'll always be true when running the installation using
the approved methods, including the web install upgrade.
2018-04-22 13:54:15 -07:00
T. Joseph Carter
eb6ace7850 Remove a2cCmpInstalled, it's obsolete
We aren't actually using a2cCmpInstalled, and we shouldn't start.  If we
need this functionality, look at RasppleII/a2server 2b52ad8 for the
right way to do it.
2018-04-22 13:46:33 -07:00
T. Joseph Carter
a12c3ccbcf Fix typo in a2chat script
Fixes #36, thanks @TrogdorsArm for burninating this one!
2018-04-22 08:05:59 -07:00
T. Joseph Carter
f156fcb6af Make sure unzip is installed for undoit
Fixes #33.
2018-04-20 15:17:31 -07:00
T. Joseph Carter
69a9945ae9 New system_ident to set arch-specific vars
Added a new script that sets two variables when sourced, $ras2_os and
$ras2_arch.  These are different than the existing variables we've been
using in a2cloud/a2server and they don't (in and of themselves) presume
Debian.  That said, nothing's likely to work with these scripts except
on Debian, so … yeah.  But the script is designed not to tie you to that
ultimately.

Outputs the variable assignments to stdout unless you pass -q.
2018-04-20 11:09:41 -07:00
T. Joseph Carter
32a599c93d Add new setup.txt
This is a minor edit to the upgrade/index.txt in a2server, removing the
human-readable changelog display because a2cloud never really kept a
file like that.
2018-04-12 00:57:08 -07:00
T. Joseph Carter
f9e0861005 install.sh, setup.txt->ivan.sh, bump version
Do not put this hash into production without the following one!

As with a2server, I've written a new setup.txt that downloads the entire
a2cloud source tree for installation, which allows the monolithic script
to be broken up into smaller pieces without worrying about that breaking
the web install—but it's not included in this revision so that git can
keep track of the rename of setup.txt to ivan.sh.

Despite the fact there is no 2.0.0 release yet, 1.9 is already so close
that it doesn't give Ivan any breathing room for any patches he wants to
make, so my intention is to skip major version 2 entirely other than for
this transition.  The final release will be given the 3.0.0 version
number.
2018-04-12 00:44:11 -07:00
T. Joseph Carter
f1a77b537d Add CC0 license text to the tree 2018-04-11 23:54:20 -07:00
T. Joseph Carter
491226e721 Remove raspbian-update, update aliases
@IvanExpert removed the raspbian-update call in setup as part of the
jessie compatibility commit, and the script's gone away in A2SERVER as
well.  Also removed the other upgrade-handling aliases and the thin
wrapper for raspi-config.
2016-12-09 09:26:53 -08:00
T. Joseph Carter
37e833f8a8 setup: Remove / on a2c*URL 2016-11-21 17:56:23 -08:00
T. Joseph Carter
313e478ed9 gsport-setup: repace binaryURL 2016-11-21 17:54:02 -08:00
T. Joseph Carter
d58da9307a setup.txt: Replace scriptURL/binaryURL mechanism
The binaryURL and scriptURL mechanisms sadly don't work properly, and
using it in the first place was kind of a workaround for allowing others
besides Ivan to work on the scripts while we transitioned to doing
things in a way that lent itself to community development.

Here we are over a year later and the scripts are just now undergoing a
rewrite to make them not dependent upon Ivan's webserver.  The mechanism
intended to facilitate that is getting in the way.  It still exists in
some other scripts, but I'm purging it as I go.
2016-11-20 23:17:47 -08:00
T. Joseph Carter
55485fc50c Preemptively add version compare function 2016-10-29 02:20:51 -07:00
T. Joseph Carter
49fa865ec5 Add beta run-local support for development
This is similar to what's already done in A2SERVER, but there's both
more and less of it.  Fewer scripts run during the installation phase
(generally just setup), but there's a lot more tools and pieces that are
downloaded.

This is complicated somewhat by the single setup script making it hard
to work on just one piece at a time.  We'll begin addressing that soon.
2016-10-29 02:13:25 -07:00
T. Joseph Carter
11f239d730 Merge setup.txt changelog with changelog.txt 2016-10-29 00:47:37 -07:00
T. Joseph Carter
51d825a2b6 Fix indentation and remove dead code 2016-10-28 08:10:53 -07:00
T. Joseph Carter
11cf8145da Update changelog 2016-10-25 11:37:51 -07:00
T. Joseph Carter
1824c4aa43 Re-indent scripts (tabs) 2016-10-25 11:36:40 -07:00
T. Joseph Carter
78d247a0ef *.txt: Trailing whitespace removal 2016-07-29 10:35:44 -07:00
Ivan X
40b55a599e fix motd, and icon creation error messages in setup 2016-07-23 06:59:22 -05:00
Ivan X
83a40d7af6 make "baud" command compatible with systemd 2016-07-23 06:10:15 -05:00
Ivan X
5ad310b567 changed install tag from master to current 2016-07-21 09:48:38 -05:00
Ivan X
4a90902dc8 removed usblogin-off and usblogin-on commands from aliases 2016-07-21 09:37:01 -05:00
Ivan X
2550d3556c Jessie compatibility; KansasFest 2016 (fc1); KEGS and Apple II Pi removed 2016-07-21 07:40:22 -05:00
Ivan X
045f971e9c more gsport launcher script fixes 2016-07-21 05:45:53 -05:00
Ivan X
944a25e50c fixed broken echo statement in a2chat 2016-07-21 01:44:19 -05:00
Ivan X
43bcf19c5b cppo current with A2SERVER; gsport launch script updates for Jessie 2016-07-20 21:38:10 -05:00
Ivan X
c794e646de USB shell login and ADTPro server daemon support for Jessie 2016-07-17 21:44:21 -04:00
T. Joseph Carter
62817abe28 setup.txt: We don't yet have a current branch 2016-06-05 10:46:37 -07:00
T. Joseph Carter
1335c067b2 Merge branch 'master' of https://github.com/RasppleII/a2cloud 2016-06-05 03:52:37 -07:00
T. Joseph Carter
35841f2b1d a2chat: More handholding on nick selection 2016-06-05 03:52:03 -07:00
Ivan X
deda15c48b Fixed bug in adtpro.sh; can now reliably get serial port from ADTPro.properties 2016-05-30 12:20:10 -04:00
T. Joseph Carter
2a99f51d17 setup.txt: First step to supporting systemd 2016-04-28 16:11:15 -07:00
T. Joseph Carter
a91ea1aef6 setup.txt: Start of systemd support 2016-04-16 05:34:55 -07:00
T. Joseph Carter
eddaf0d72d setup.txt: Rewrite XDG/FreeDesktop menu code
The way we've been manipulating the user's LXDE session menu is kind of
not supposed to be done, and certainly it's not the right way to do it.
So what I've done is make sure the correct tool for doing it system-wide
is installed.  It turns out we can actually do it by hand, but because
we're not using a standard category, this method works according to all
of the applicable standards.
2016-04-14 03:03:53 -07:00
T. Joseph Carter
82697c0945 setup.txt: Remove obsolete FIXME's 2016-04-10 18:28:18 -07:00
T. Joseph Carter
e3f7ca02b5 setup.txt: comments from jessie branch 2016-04-10 05:36:34 -07:00
T. Joseph Carter
dc6745bb21 setup.txt: Move /media/A2SHARED to /srv/A2SERVER
The way that A2SERVER upgrades this should take care of A2CLOUD on
upgrades, so we need not.  We just need to handle new installations.
2016-04-10 04:51:36 -07:00
T. Joseph Carter
600de08a2c setup.txt: Fix XDG Application directory
Jessie and later require that XDG application files (.desktop files)
live in /usr/share/applications.  Some DEs may still look in /usr/local
for them, but they're not required or expected to, and LXDE at least no
longer does.  So we'll put them where they belong from now on.
2016-04-10 04:31:01 -07:00
T. Joseph Carter
a1a26ae6fb setup.txt: more style consistency 2016-04-10 03:26:25 -07:00
T. Joseph Carter
e65da70236 setup.txt: Minor style consistency changes 2016-04-10 03:10:52 -07:00
T. Joseph Carter
d1273a9150 setup.txt: unar installation from A2SERVER 2016-04-10 02:52:49 -07:00
T. Joseph Carter
fe7e2f058a setup.txt: use hash to check for acmd 2016-04-08 02:52:18 -07:00
T. Joseph Carter
a23b98fd92 setup.txt: Quote a few URLs for safety 2016-04-08 02:47:08 -07:00
T. Joseph Carter
378282fea6 setup.txt: A2CLOUD uses setup.txt not index.txt 2016-04-08 02:36:22 -07:00
T. Joseph Carter
a34e0f9698 setup.txt: Fix precompiled bins--BREAKS WEBSITE
Changed precompiled binary locations and names to match what Ivan did
with A2SERVER.  That is, precompiled binaries are in ${binaryURL} in a
subdir named precompiled and are named <base>-<arch>-<debianname.tgz or
suchlike.  I didn't put the Apple // stuff into precompiled, but Ivan
can figure out where that should go.
2016-04-08 02:01:59 -07:00