Skip to content

Releases: tanaikech/ggsrun

v1.5.0

27 Oct 06:39
Compare
Choose a tag to compare
  • v1.5.0 (October 27, 2018)
    1. From this version, ggsrun got to be able to download all files and folders in the specific folder in Google Drive. When all files are downloaded from a folder, the same folder structure of Google Drive is created to the local PC.
      • $ ggsrun d -f folderName or folderId
        • When the project file is downloaded, it is downloaded as a zip file. All scripts in the project is put in the zip file.
        • Also when you download a single project, you can use an option --zip or -z. By this, the downloaded project is saved as a zip file.
        • This new function can be also used for the shared folders. When you want to download the files from the shared folder, please use the folder ID of the shared folder.
    2. The file list with the folder tree in the specific folder got to be able to be retrieved.
    3. When the files are downloaded, the progression got to be able to be seen. When you want to see the progression, please use -j when you download files and folders.
    4. Files with large size got to be able to be used. In order to download files with large size (several gigabytes), files are saved by chunks.
    5. Some modifications.

v1.4.1

09 Feb 03:35
Compare
Choose a tag to compare
  • v1.4.1 (February 9, 2018)
    1. For uploading, the resumable-upload method was added.
      • The resumable-upload method is automatically used by the size of file.
        • "multipart/form-data" can upload files with the size less than 5 MB.
        • "resumable-upload" can upload files with the size more than 5 MB.
      • The chunk for resumable-upload is 100 MB as the default.
        • Users can also give this chunk size using an option.
      • $ ggsrun u -f filename -chunk 10
        • This means that a file with filename is uploaded by each chunk of 10 MB.

v1.4.0

24 Jan 23:10
Compare
Choose a tag to compare

You can read "How to install" at here.

v1.3.4

02 Jan 05:41
Compare
Choose a tag to compare
  • v1.3.4 (January 2, 2018)

    1. Added new option for downloading 'bound-scripts' of Google Sheets, Docs, or Forms file.
      • When the bound-scripts are downloaded, the project name cannot be retrieved because Drive API cannot be used for the bound-scripts. So when the bound-scripts are downloaded, the project ID had been used previously. Such filename is not easily to be seen. By this additional option, users can give the filename when it downloads the bound-scripts.
      • The usage is here
    2. Removed a bug.
      • When a project is downloaded, script ID in the project is added to the top of each downloaded script as a comment. There was a problem at the character using for the comment out. This was modified.

v1.3.3

30 Oct 04:57
Compare
Choose a tag to compare

Awesome points of Manifests :

Awesome points of Manifests that I think are below.

  • Libraries for a project can be installed by scripts.
  • Scopes for using Google APIs can be set by scripts.
    • This means that OAuth2 process is not required for GAS.
      • Most users have already known that we can retrieve access token using ScriptApp.getOAuthToken(). The scopes of the access token depended on the scopes shown at script editor (File -> Project properties -> Scopes) so far. But by Manifests, this situation was changed. The Manifests makes us be able to modify the scopes by modifying the file (appsscript.json) for setting Manifests. After modified it, ScriptApp.getOAuthToken() gives an access token with the modified scopes. I think that the OAuth2 process is carried out inside in ScriptApp.getOAuthToken(). So users can retrieve the access token which has various scopes without preparing the script for OAuth2 process.
    • Enabling APIs on API console is required yet.
  • Advanced Google Services for a project can be installed by scripts.
    • Enabling APIs on API console is required yet.

I think that modifying manifests will be able to apply to various applications.

v1.3.2

20 Oct 07:38
Compare
Choose a tag to compare
  • v1.3.2 (October 20, 2017)

    1. Updated ggsrun's Install manual (README.md). Since I thought that the manual became too complicated, I separated it to the simple version and the detail version. And also , recently, since Google's specification was updated, about how to deploy API executable and enable APIs for ggsrun's Install manual were updated.
    2. From this version, scripts in a project can be rearranged. The rearrangement can be done by interactively on your terminal and/or a configuration file. The usage is here
      • For rearranging scripts, there is one important point. When scripts in a project is rearranged, version history of scripts is reset once. So if you don't want to reset the version history, before rearranging, please copy the project. By copying project, the project before rearranging is saved.

v1.3.1

15 Sep 00:56
Compare
Choose a tag to compare
  • v1.3.1 (September 15, 2017)

    1. Recently, when scripts on local PC is uploaded to Google Drive as a new project, the time to create on Google became a bit long. (I think that this is due to Google Update.) Under this situation, when the script is uploaded, the timeout error occurs while the new project is created using the script. So the time until timeout of fetch was modified from 10 seconds to 30 seconds. By this, when the script is uploaded, no error occurs and the information of the created project is shown.
      • You can create a new project on Google Drive using scripts on local PC. The sample command is ggsrun u -f sample.gs1,sample2.gs,sample3.html -pn newprojectname

v1.3.0

30 Aug 06:07
Compare
Choose a tag to compare
  • v1.3.0 (August 30, 2017)

    1. From this version, container-bound scripts can be downloaded. The container-bound script is the script created at the script editor on Google Sheets, Docs, or Forms file.
      • In order to download container-bound scripts, the project ID of container-bound scripts is required. The project ID can be retrieved as follows.
        • Open the project. And please operate follows using click.
          • -> File
          • -> Project properties
          • -> Get Script ID (This is the project ID.)
    2. When a project is downloaded, the filename of HTML file had become .gs. This bug was modified.

The usage of this is here.

v1.2.2

12 Jul 02:45
Compare
Choose a tag to compare
  • v1.2.2 (July 12, 2017)

    1. For Google Docs (spreadsheet, document, slide and drawing), since I noticed that the revision files would not be able to be retrieved using Drive API v3, I modified this using new workaround.
      • The new workaround is to use Drive API v2. drive.revisions.get of Drive API v2 can retrieve not only the revision list, but also the export links. I thought of the use of the export links. This became the new workaround.
      • For the files except for Google Docs, the revision files can be retrieved using Drive API v3.
      • The usage is here.

    I don't know when this workaround will not be able to be used. But if this could not be used, I would like to investigate of other method.

v1.2.1

28 May 05:09
Compare
Choose a tag to compare
  1. ggsrun.cfg got be able to be read using the environment variable.

    • If the environment variable (GGSRUN_CFG_PATH) is set, ggsrun.cfg is read using it.
    • If it is not set, ggsrun.cfg is read from the current working directory. This is as has been the way until now.
    • This is the response for some requests.
    • This incofmation was added to here.