fxbox / deprecated-taxonomy

This repository has moved.
https://github.com/fxbox/foxbox/
Mozilla Public License 2.0
0 stars 9 forks source link

target/doc shouldn't have anything checked in #6

Closed hfiguiere closed 8 years ago

hfiguiere commented 8 years ago

In rust target should be in .gitignore. Nothing in it should be checked in.

Yoric commented 8 years ago

How do you suggest I publish the doc? Should I write a makefile to copy stuff out of target/?

hfiguiere commented 8 years ago

It is even worse now:

[hub@raptor]~/source/mozilla/taxonomy% git reset --hard
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    Cargo.lock

nothing added to commit but untracked files present (use "git add" to track)
[hub@raptor]~/source/mozilla/taxonomy% cargo clean     
[hub@raptor]~/source/mozilla/taxonomy% git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

    deleted:    target/doc/fxbox_taxonomy/api/enum.Error.html
    deleted:    target/doc/fxbox_taxonomy/api/index.html
    deleted:    target/doc/fxbox_taxonomy/api/sidebar-items.js
    deleted:    target/doc/fxbox_taxonomy/api/struct.HubRequest.html
    deleted:    target/doc/fxbox_taxonomy/api/struct.InputRequest.html
    deleted:    target/doc/fxbox_taxonomy/api/struct.OutputRequest.html
    deleted:    target/doc/fxbox_taxonomy/api/struct.Period.html
    deleted:    target/doc/fxbox_taxonomy/api/struct.Value.html
    deleted:    target/doc/fxbox_taxonomy/api/struct.WatchOptions.html
    deleted:    target/doc/fxbox_taxonomy/api/trait.API.html
    deleted:    target/doc/fxbox_taxonomy/api/trait.EndPointAPI.html
    deleted:    target/doc/fxbox_taxonomy/api/trait.HubAPI.html
    deleted:    target/doc/fxbox_taxonomy/devices/enum.Type.html
    deleted:    target/doc/fxbox_taxonomy/devices/enum.ValueKind.html
    deleted:    target/doc/fxbox_taxonomy/devices/index.html
    deleted:    target/doc/fxbox_taxonomy/devices/sidebar-items.js
    deleted:    target/doc/fxbox_taxonomy/devices/struct.EndPoint.html
    deleted:    target/doc/fxbox_taxonomy/devices/struct.Hub.html
    deleted:    target/doc/fxbox_taxonomy/devices/struct.Input.html
    deleted:    target/doc/fxbox_taxonomy/devices/struct.Output.html
    deleted:    target/doc/fxbox_taxonomy/devices/type.EndPointId.html
    deleted:    target/doc/fxbox_taxonomy/devices/type.HubId.html
    deleted:    target/doc/src/fxbox_taxonomy/api.rs.html
    deleted:    target/doc/src/fxbox_taxonomy/devices.rs.html

Untracked files:
  (use "git add <file>..." to include in what will be committed)

    Cargo.lock

no changes added to commit (use "git add" and/or "git commit -a")
[hub@raptor]~/source/mozilla/taxonomy% 
hfiguiere commented 8 years ago

Also

[hub@raptor]~/source/mozilla/taxonomy% git reset --hard
HEAD is now at a50f391 Merge pull request #1 from hfiguiere/cleanup
[hub@raptor]~/source/mozilla/taxonomy% cargo doc
 Documenting rustc-serialize v0.3.18
   Compiling rustc-serialize v0.3.18
   Compiling winapi-build v0.1.1
 Documenting winapi v0.2.5
 Documenting libc v0.2.7
   Compiling libc v0.2.7
   Compiling rand v0.3.14
 Documenting rand v0.3.14
   Compiling winapi v0.2.5
   Compiling kernel32-sys v0.2.1
 Documenting kernel32-sys v0.2.1
   Compiling time v0.1.34
 Documenting time v0.1.34
 Documenting num v0.1.31
   Compiling num v0.1.31
 Documenting serde v0.6.14
   Compiling chrono v0.2.19
 Documenting chrono v0.2.19
   Compiling serde v0.6.14
   Compiling serde_json v0.6.0
 Documenting serde_json v0.6.0
 Documenting fxbox_taxonomy v0.1.1 (file:///home/hub/source/mozilla/taxonomy)
[hub@raptor]~/source/mozilla/taxonomy% git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

    modified:   target/doc/fxbox_taxonomy/api/enum.Error.html
    modified:   target/doc/fxbox_taxonomy/api/index.html
    modified:   target/doc/fxbox_taxonomy/api/sidebar-items.js
    modified:   target/doc/fxbox_taxonomy/devices/enum.Type.html
    modified:   target/doc/fxbox_taxonomy/devices/enum.ValueKind.html
    modified:   target/doc/fxbox_taxonomy/devices/index.html
    modified:   target/doc/fxbox_taxonomy/devices/sidebar-items.js
    modified:   target/doc/fxbox_taxonomy/devices/struct.EndPoint.html
    modified:   target/doc/fxbox_taxonomy/devices/struct.Hub.html
    modified:   target/doc/fxbox_taxonomy/devices/struct.Input.html
    modified:   target/doc/fxbox_taxonomy/devices/struct.Output.html

Which show several of these files are actually generated by cargo doc.

Yoric commented 8 years ago

My apologies, I obviously did something stupid somewhere (apparently around 1am, so no big surprise). If you wish to file a PR, I'll gladly accept it. If not, I'll try and fix this in a few hours – and create a Makefile or script to publish the doc without manual screwups.

hfiguiere commented 8 years ago

Just remove the generated files. There is still a bunch of stuff left in target/

Yoric commented 8 years ago

This was fixed some time ago.