Short: Writes, checks, uploads Aminet readmes Author: SkIzZoLFs / LfsCrew Uploader: SkIzZoLFs Type: comm/tcp Version: 1.3 Requires: AmigaOS 3.5+ (ReAction), 68020+, TCP/IP (bsdsocket) Architecture: m68k-amigaos Distribution: Aminet Kurz: Aminet-Readmes schreiben/pruefen/senden [ENGLISH] Aminet Upload For Dummy 1.3 =========================== Prepares an archive for Aminet and uploads it: writes and checks the readme, then sends archive and readme to the /new directory of main.aminet.net. Rewritten from scratch after Aminet-Uploader 1.0 (ReAction version), adding Compile and a full readme check. NEW IN 1.3 ---------- - Drag and drop: drop an archive or a readme icon on the window. On the Description tab a readme (or any text file) is loaded into the description: you can choose all of it or the description only, and replace or append to the text already there. - Description tab: "Load readme..." and "Clear all" buttons; an empty description shows "Drop .readme file HERE!". - Double-click a description row in the log: the tab opens and the line is marked. - Kurz field (German Short) with a warning if Short changes and Kurz does not. - Mouse wheel in About, Description, log and status list. - Architecture generic empties the version field. - Language from the icon: tooltype LANGUAGE=italiano / english / deutsch (or LANGUAGE= from the Shell). - Clearer message when a ReAction class is missing; the 3.2 program started on an older system no longer uses the list call that freezes 3.9. NEW IN 1.2 ---------- - A separate program for AmigaOS 3.9: AminetUploadForDummy_OS39. Use AminetUploadForDummy on 3.2 and AminetUploadForDummy_OS39 on 3.9. - Changing tab no longer touches the gadgets while the system redraws the page (could freeze the machine with some GUI patches). - The log is redrawn only when its contents change: the window is lighter while you type. HOW TO USE IT ------------- 1. General: Name and E-Mail (used for the Uploader: field), then Select... the archive. If .readme is next to it, it is loaded automatically; if it is missing and the archive is an .lha, the readme is searched inside it with C:lha. Open... loads any readme: if the archive with the same name is next to it, it is selected automatically. 2. Readme Header: category, Short and Kurz (40 characters at most), Architecture and the other fields. 3. Readme Description: the free text (lines of 78 characters at most). 4. Compile: writes the readme next to the archive. If one existed and was different, the old one is kept as .readme.bak. 5. Upload: Check tests the server; Upload to Aminet sends archive and readme. "Simulate upload" does everything but sending. "Aminet defaults" restores server, user name and password. THE README CHECK ---------------- On the General tab every problem has a row: type, line in the file, field and explanation. ERROR blocks the upload: Short over 40 characters, Type missing, header line over 78 characters, invalid file name... WARNING asks before uploading: Version missing, long lines in the description, unknown fields... The check runs again when you confirm a field (Return or Tab), change a choice or a tab, and always before Compile and Upload. Readmes with Windows (CR+LF) or Mac (CR) line ends and UTF-8 text (converted to ISO-8859-1) are accepted; everything unusual is reported in the log, nothing is dropped silently. AMINET RULES TO REMEMBER ------------------------ - Source archives: Architecture: generic. - The readme is named like the archive: foo.lha -> foo.readme. - File name: 30 characters at most, only A-Z a-z 0-9 . _ - - An incomplete file in /new cannot be deleted: try the simulation or a test FTP server (host:port) first. INSTALLATION ------------ Copy the drawer AminetUploadForDummy wherever you like; keep the drawer "catalogs" next to the programs (Italian and German; English is built in). Preferences are kept in ENVARC:AminetUploadForDummy.prefs; the password is never saved (for Aminet it is your e-mail address). Shell: AminetUploadForDummy [ARCHIVE=] [DRYRUN] [LANGUAGE=] System: AmigaOS 3.5 or higher (ReAction), tested on 3.2 and 3.9. Use AminetUploadForDummy on 3.2, AminetUploadForDummy_OS39 on 3.5/3.9. CREDITS ------- Made by SkIzZoLFs / LfsCrew Contact: lfscr3w@gmail.com Built with GCC 6.5 (m68k-amigaos). Sources: AminetUploadForDummy-src.lha. Freeware. ======================================================================== [ITALIANO] Aminet Upload For Dummy 1.3 =========================== Prepara un archivio per Aminet e lo invia: scrive e controlla il readme, poi carica archivio e readme nella cartella /new di main.aminet.net. Rifatto da zero partendo da Aminet-Uploader 1.0 (versione ReAction), con in piu' Compila e un controllo completo del readme. NOVITA' DELLA 1.3 ----------------- - Trascina e rilascia: trascina sulla finestra l'icona di un archivio o di un readme. Nella scheda Descrizione un readme (o un file di testo qualsiasi) va nella descrizione: si sceglie se tutto o solo la descrizione, e se sostituire o aggiungere in fondo. - Scheda Descrizione: pulsanti "Carica readme..." e "Azzera tutto"; a descrizione vuota appare "Trascina File .Readme QUI !". - Doppio clic su una riga della descrizione nel log: si apre la scheda e la riga viene evidenziata. - Campo Kurz (lo Short in tedesco), con un avviso se cambia Short ma non Kurz. - Rotella del mouse in Informazioni, Descrizione, log e lista Stato. - Architecture generic svuota il campo della versione. - Lingua dall'icona: tooltype LANGUAGE=italiano / english / deutsch (o LANGUAGE= dalla Shell). - Messaggio piu' chiaro se manca una classe ReAction; il programma per il 3.2 avviato su un sistema piu' vecchio non usa piu' la chiamata della lista che blocca il 3.9. NOVITA' DELLA 1.2 ----------------- - Un programma a parte per AmigaOS 3.9: AminetUploadForDummy_OS39. Sul 3.2 si usa AminetUploadForDummy, sul 3.9 AminetUploadForDummy_OS39. - Cambiando scheda il programma non tocca piu' i gadget mentre il sistema ridisegna la pagina (con alcune patch della GUI poteva bloccare la macchina). - Il log si ridisegna solo quando cambia: la finestra e' piu' leggera mentre si scrive. COME SI USA ----------- 1. Generale: Nome ed E-Mail (servono per il campo Uploader:), poi Seleziona... l'archivio. Se accanto c'e' .readme viene caricato da solo; se manca e l'archivio e' un .lha, il readme viene cercato dentro l'archivio con C:lha. Con Apri... si carica un readme qualsiasi: se accanto c'e' l'archivio con lo stesso nome, viene scelto da solo. 2. Intestazione del Readme: categoria, Short e Kurz (al massimo 40 caratteri), Architecture e gli altri campi. 3. Descrizione del Readme: il testo libero (righe di 78 caratteri al massimo). 4. Compila: scrive il readme accanto all'archivio. Se ce n'era uno diverso, il vecchio resta come .readme.bak. 5. Upload: Verifica prova il server; Carica su Aminet invia archivio e readme. "Simulazione invio" fa tutto tranne l'invio. "Predefiniti Aminet" rimette server, nome utente e password. IL CONTROLLO DEL README ----------------------- Nella scheda Generale ogni problema ha una riga: tipo, riga del file, campo e spiegazione. ERRORE blocca l'invio: Short oltre 40 caratteri, Type mancante, riga d'intestazione oltre 78 caratteri, nome del file non valido... AVVISO chiede conferma prima dell'invio: Version mancante, righe lunghe nella descrizione, campi sconosciuti... Il controllo riparte quando si conferma un campo (Invio o Tab), si cambia una scelta o una scheda, e sempre prima di Compila e Carica. Sono accettati readme con fine riga Windows (CR+LF) o Mac (CR) e testo UTF-8 (convertito in ISO-8859-1); tutto cio' che e' insolito finisce nel log, niente viene scartato in silenzio. REGOLE DI AMINET DA RICORDARE ----------------------------- - Archivi di sorgenti: Architecture: generic. - Il readme si chiama come l'archivio: lfscrew.lha -> lfscrew.readme. - Nome del file: al massimo 30 caratteri, solo A-Z a-z 0-9 . _ - - Un file incompleto in /new non si puo' cancellare: prima prova la simulazione o un server FTP di prova (host:porta). INSTALLAZIONE ------------- Copia il cassetto AminetUploadForDummy dove vuoi; tieni il cassetto "catalogs" accanto ai programmi (italiano e tedesco; l'inglese e' dentro il programma). Le preferenze stanno in ENVARC:AminetUploadForDummy.prefs; la password non viene mai salvata (per Aminet e' il tuo indirizzo e-mail). Shell: AminetUploadForDummy [ARCHIVIO=] [PROVA] [LANGUAGE=] Sistema: AmigaOS 3.5 o superiore (ReAction), provato su 3.2 e 3.9. Sul 3.2 AminetUploadForDummy, sul 3.5/3.9 AminetUploadForDummy_OS39. CREDITI ------- Fatto da SkIzZoLFs / LfsCrew Contatti: lfscr3w@gmail.com Compilato con GCC 6.5 (m68k-amigaos). Sorgenti: AminetUploadForDummy-src.lha. Freeware.